From c3ea3e439fbc5251279d914a95cd8344556982cb Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 7 Apr 2014 13:30:48 -0700 Subject: Register new snapshots --- src/libgreen/basic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libgreen') diff --git a/src/libgreen/basic.rs b/src/libgreen/basic.rs index d2599aab14c..62b6f71ae9c 100644 --- a/src/libgreen/basic.rs +++ b/src/libgreen/basic.rs @@ -27,7 +27,7 @@ pub fn event_loop() -> ~EventLoop:Send { } struct BasicLoop { - work: ~[proc:Send()], // pending work + work: ~[proc():Send], // pending work idle: Option<*mut BasicPausable>, // only one is allowed remotes: ~[(uint, ~Callback:Send)], next_remote: uint, @@ -135,7 +135,7 @@ impl EventLoop for BasicLoop { } } - fn callback(&mut self, f: proc:Send()) { + fn callback(&mut self, f: proc():Send) { self.work.push(f); } -- cgit 1.4.1-3-g733a5