Skip to content

Commit f2ab328

Browse files
committed
Update for rebase
1 parent e59e87b commit f2ab328

File tree

1 file changed

+3
-3
lines changed
  • timely/src/dataflow/operators/core

1 file changed

+3
-3
lines changed

timely/src/dataflow/operators/core/map.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ impl<S: Scope, C: Container + DrainContainer> Map<S, C> for StreamCore<S, C> {
106106

107107

108108
/// A stream wrapper that allows the accumulation of flatmap logic.
109-
pub struct FlatMapBuilder<'t, T, C: Container, F: 'static, I>
109+
pub struct FlatMapBuilder<'t, T, C: DrainContainer, F: 'static, I>
110110
where
111111
for<'a> F: Fn(C::Item<'a>) -> I,
112112
{
@@ -115,7 +115,7 @@ where
115115
marker: std::marker::PhantomData<C>,
116116
}
117117

118-
impl<'t, T, C: Container + Clone + 'static, F, I> FlatMapBuilder<'t, T, C, F, I>
118+
impl<'t, T, C: DrainContainer + Clone + 'static, F, I> FlatMapBuilder<'t, T, C, F, I>
119119
where
120120
for<'a> F: Fn(C::Item<'a>) -> I,
121121
{
@@ -139,7 +139,7 @@ where
139139
I: IntoIterator,
140140
S: Scope,
141141
T: Map<S, C>,
142-
C2: SizableContainer + PushInto<I::Item> + Data,
142+
C2: Container + SizableContainer + PushInto<I::Item>,
143143
{
144144
Map::flat_map(self.stream, self.logic)
145145
}

0 commit comments

Comments
 (0)