diff rust/src/main.rs @ 614:e1bab5b36352 rust

using some refcells for the paramwaiter
author Matt Johnston <matt@ucc.asn.au>
date Tue, 07 Mar 2017 23:04:02 +0800
parents f3e39e2107fd
children f153aec221be
line wrap: on
line diff
--- a/rust/src/main.rs	Thu Mar 02 00:06:20 2017 +0800
+++ b/rust/src/main.rs	Tue Mar 07 23:04:02 2017 +0800
@@ -71,7 +71,7 @@
         r
     });
 
-    let param_stream = paramwaiter::ParamWaiter::new(config, &handle).stream();
+    let param_stream = paramwaiter::ParamWaiter::stream(config, &handle);
     let p = param_stream.map(|p| {
             fridge::Message::Params(p)
         });