@@ -117,13 +117,13 @@ where
117
117
///
118
118
/// for each `((key, val2), time2, diff2)` present in `arrangement`, where
119
119
/// `time2` is less than `initial_time` *UNDER THE TOTAL ORDER ON TIMES*.
120
- pub fn half_join_internal_unsafe < G , V , Tr , FF , CF , DOut , I , S > (
120
+ pub fn half_join_internal_unsafe < G , V , Tr , FF , CF , DOut , ROut , I , S > (
121
121
stream : & Collection < G , ( Tr :: Key , V , G :: Timestamp ) , Tr :: R > ,
122
122
mut arrangement : Arranged < G , Tr > ,
123
123
frontier_func : FF ,
124
124
comparison : CF ,
125
125
mut output_func : S ,
126
- ) -> Collection < G , DOut , Tr :: R >
126
+ ) -> Collection < G , DOut , ROut >
127
127
where
128
128
G : Scope ,
129
129
G :: Timestamp : Lattice ,
@@ -137,7 +137,8 @@ where
137
137
FF : Fn ( & G :: Timestamp ) -> G :: Timestamp + ' static ,
138
138
CF : Fn ( & G :: Timestamp , & G :: Timestamp ) -> bool + ' static ,
139
139
DOut : Clone +' static ,
140
- I : IntoIterator < Item =( DOut , G :: Timestamp , Tr :: R ) > ,
140
+ ROut : Monoid ,
141
+ I : IntoIterator < Item =( DOut , G :: Timestamp , ROut ) > ,
141
142
S : FnMut ( & Tr :: Key , & V , & Tr :: Val , & G :: Timestamp , & G :: Timestamp , & Tr :: R , & Tr :: R ) -> I + ' static ,
142
143
{
143
144
// No need to block physical merging for this operator.
0 commit comments