@@ -19,7 +19,7 @@ fn main() {
1919 . to_stream (scope )
2020 . unary (Pipeline , " increment" , | capability , info | {
2121
22- move | input , output | {
22+ move | input , mut output | {
2323 input . for_each_time (| time , data | {
2424 let mut session = output . session (& time );
2525 for datum in data . flat_map (| d | d . drain (.. )) {
@@ -81,7 +81,7 @@ fn main() {
8181 let activator = scope . activator_for (info . address);
8282
8383 let mut cap = Some (capability );
84- move | output | {
84+ move | mut output | {
8585
8686 let mut done = false ;
8787 if let Some (cap ) = cap . as_mut () {
@@ -135,7 +135,7 @@ fn main() {
135135
136136 let mut maximum = 0 ; // define this here; use in the closure
137137
138- move | input , output | {
138+ move | input , mut output | {
139139 input . for_each_time (| time , data | {
140140 let mut session = output . session (& time );
141141 for datum in data . flat_map (| d | d . drain (.. )) {
@@ -187,7 +187,7 @@ fn main() {
187187 let mut notificator = FrontierNotificator :: default ();
188188 let mut stash = HashMap :: new ();
189189
190- move | (input1 , frontier1 ), (input2 , frontier2 ), output | {
190+ move | (input1 , frontier1 ), (input2 , frontier2 ), mut output | {
191191 input1 . for_each_time (| time , data | {
192192 stash . entry (time . time (). clone ())
193193 . or_insert (Vec :: new ())
@@ -237,7 +237,7 @@ fn main() {
237237
238238 let mut stash = HashMap :: new ();
239239
240- move | (input1 , frontier1 ), (input2 , frontier2 ), output | {
240+ move | (input1 , frontier1 ), (input2 , frontier2 ), mut output | {
241241
242242 input1 . for_each_time (| time , data | {
243243 stash . entry (time . retain ())
0 commit comments