Skip to content

Commit 00bd548

Browse files
committed
Extend Container trait bounds
1 parent e9b0652 commit 00bd548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub trait Columnar : 'static {
3434
///
3535
/// The container must support pushing both `&Self` and `Self::Ref<'_>`.
3636
/// In our running example this might be `(Vec<A>, Vecs<Vec<B>>)`.
37-
type Container: Len + Clear + Default + for<'a> Push<&'a Self> + for<'a> Push<Self::Ref<'a>> + Container<Self>;
37+
type Container: Len + Clear + Default + for<'a> Push<&'a Self> + for<'a> Push<Self::Ref<'a>> + Container<Self> + Clone + Send;
3838

3939
/// Converts a sequence of the references to the type into columnar form.
4040
fn as_columns<'a, I>(selves: I) -> Self::Container where I: IntoIterator<Item =&'a Self>, Self: 'a {

0 commit comments

Comments
 (0)