@@ -25,7 +25,7 @@ use crate::logging::{TimelyLogger, MessagesEvent};
2525use crate :: progress:: Timestamp ;
2626use crate :: progress:: timestamp:: Refines ;
2727use crate :: progress:: { Source , Target } ;
28- use crate :: { Container , Data } ;
28+ use crate :: Container ;
2929use crate :: communication:: Push ;
3030use crate :: dataflow:: channels:: pushers:: { Counter , PushOwned } ;
3131use crate :: dataflow:: channels:: Message ;
@@ -53,7 +53,7 @@ pub trait Enter<G: Scope, T: Timestamp+Refines<G::Timestamp>, C: Container> {
5353 fn enter < ' a > ( self , _: & Child < ' a , G , T > ) -> OwnedStream < Child < ' a , G , T > , C > ;
5454}
5555
56- impl < G : Scope , T : Timestamp +Refines < G :: Timestamp > , C : Data + Container , S : StreamLike < G , C > > Enter < G , T , C > for S {
56+ impl < G : Scope , T : Timestamp +Refines < G :: Timestamp > , C : Container + ' static , S : StreamLike < G , C > > Enter < G , T , C > for S {
5757 fn enter < ' a > ( self , scope : & Child < ' a , G , T > ) -> OwnedStream < Child < ' a , G , T > , C > {
5858
5959 use crate :: scheduling:: Scheduler ;
@@ -130,14 +130,14 @@ impl<'a, G: Scope, C: Container + 'static, T: Timestamp+Refines<G::Timestamp>, S
130130}
131131
132132
133- struct IngressNub < TOuter : Timestamp , TInner : Timestamp +Refines < TOuter > , TContainer : Container + Data > {
133+ struct IngressNub < TOuter : Timestamp , TInner : Timestamp +Refines < TOuter > , TContainer : Container > {
134134 targets : Counter < TInner , TContainer , PushOwned < TInner , TContainer > > ,
135135 phantom : PhantomData < TOuter > ,
136136 activator : crate :: scheduling:: Activator ,
137137 active : bool ,
138138}
139139
140- impl < TOuter : Timestamp , TInner : Timestamp +Refines < TOuter > , TContainer : Container + Data > Push < Message < TOuter , TContainer > > for IngressNub < TOuter , TInner , TContainer > {
140+ impl < TOuter : Timestamp , TInner : Timestamp +Refines < TOuter > , TContainer : Container > Push < Message < TOuter , TContainer > > for IngressNub < TOuter , TInner , TContainer > {
141141 fn push ( & mut self , element : & mut Option < Message < TOuter , TContainer > > ) {
142142 if let Some ( outer_message) = element {
143143 let data = :: std:: mem:: take ( & mut outer_message. data ) ;
0 commit comments