From e5ccf13668ed7b66d6efd9a1a03926e98546705d Mon Sep 17 00:00:00 2001 From: toddaaro Date: Mon, 19 Aug 2013 12:01:13 -0700 Subject: [PATCH] clean whitespace :/ --- src/libstd/rt/sched.rs | 6 +++--- src/libstd/rt/uv/uvio.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libstd/rt/sched.rs b/src/libstd/rt/sched.rs index 6a624b1c1358..a50618ba0ad6 100644 --- a/src/libstd/rt/sched.rs +++ b/src/libstd/rt/sched.rs @@ -105,7 +105,7 @@ impl Scheduler { sleeper_list: SleeperList, run_anything: bool, friend: Option) - -> Scheduler { + -> Scheduler { let mut event_loop = event_loop; let idle_callback = event_loop.pausible_idle_callback(); @@ -124,7 +124,7 @@ impl Scheduler { metrics: SchedMetrics::new(), run_anything: run_anything, friend_handle: friend, - rng: XorShiftRng::new(), + rng: XorShiftRng::new(), idle_callback: idle_callback } } @@ -174,7 +174,7 @@ impl Scheduler { // cleaning up the memory it uses. As we didn't actually call // task.run() on the scheduler task we never get through all // the cleanup code it runs. - let mut stask = Local::take::(); + let mut stask = Local::take::(); rtdebug!("stopping scheduler %u", stask.sched.get_ref().sched_id()); diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs index 12a6f6f37f76..290e57942f47 100644 --- a/src/libstd/rt/uv/uvio.rs +++ b/src/libstd/rt/uv/uvio.rs @@ -178,7 +178,7 @@ impl UvPausibleIdleCallback { self.closed = true; self.watcher.close(||()); } - } + } } #[test] @@ -232,8 +232,8 @@ impl UvRemoteCallback { // could be called in the other thread, missing the final // callback while still destroying the handle. - let should_exit = unsafe { - exit_flag_clone.with_imm(|&should_exit| should_exit) + let should_exit = unsafe { + exit_flag_clone.with_imm(|&should_exit| should_exit) }; f();