Skip to content

Commit cc88469

Browse files
Generalize bounds on dynamic timestamp actions (#379)
1 parent 24df201 commit cc88469

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/dynamic/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
pub mod pointstamp;
1515

16-
use timely::dataflow::{Scope, scopes::Child};
16+
use timely::dataflow::Scope;
1717
use timely::order::Product;
1818
use timely::progress::Timestamp;
1919
use timely::dataflow::operators::generic::builder_rc::OperatorBuilder;
@@ -26,12 +26,13 @@ use collection::AsCollection;
2626
use dynamic::pointstamp::PointStamp;
2727
use dynamic::pointstamp::PointStampSummary;
2828

29-
impl<G, D, R, T> Collection<Child<'_, G, Product<G::Timestamp, PointStamp<T>>>, D, R>
29+
impl<G, D, R, T, TOuter> Collection<G, D, R>
3030
where
31-
G: Scope,
31+
G: Scope<Timestamp = Product<TOuter, PointStamp<T>>>,
3232
D: Data,
3333
R: Semigroup,
3434
T: Timestamp+Default,
35+
TOuter: Timestamp,
3536
{
3637
/// Enters a dynamically created scope which has `level` timestamp coordinates.
3738
pub fn enter_dynamic(&self, _level: usize) -> Self {

0 commit comments

Comments
 (0)