We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59e87b commit f2ab328Copy full SHA for f2ab328
timely/src/dataflow/operators/core/map.rs
@@ -106,7 +106,7 @@ impl<S: Scope, C: Container + DrainContainer> Map<S, C> for StreamCore<S, C> {
106
107
108
/// A stream wrapper that allows the accumulation of flatmap logic.
109
-pub struct FlatMapBuilder<'t, T, C: Container, F: 'static, I>
+pub struct FlatMapBuilder<'t, T, C: DrainContainer, F: 'static, I>
110
where
111
for<'a> F: Fn(C::Item<'a>) -> I,
112
{
@@ -115,7 +115,7 @@ where
115
marker: std::marker::PhantomData<C>,
116
}
117
118
-impl<'t, T, C: Container + Clone + 'static, F, I> FlatMapBuilder<'t, T, C, F, I>
+impl<'t, T, C: DrainContainer + Clone + 'static, F, I> FlatMapBuilder<'t, T, C, F, I>
119
120
121
@@ -139,7 +139,7 @@ where
139
I: IntoIterator,
140
S: Scope,
141
T: Map<S, C>,
142
- C2: SizableContainer + PushInto<I::Item> + Data,
+ C2: Container + SizableContainer + PushInto<I::Item>,
143
144
Map::flat_map(self.stream, self.logic)
145
0 commit comments