diff options
| author | toddaaro <github@opprobrio.us> | 2013-08-19 12:01:13 -0700 |
|---|---|---|
| committer | toddaaro <github@opprobrio.us> | 2013-08-19 12:01:13 -0700 |
| commit | e5ccf13668ed7b66d6efd9a1a03926e98546705d (patch) | |
| tree | 15d9cca51841387ba74bd843f26cc48c509b6705 /src/libstd | |
| parent | 20213fcca420f6b6a0b8990a4647edad39148c07 (diff) | |
| download | rust-e5ccf13668ed7b66d6efd9a1a03926e98546705d.tar.gz rust-e5ccf13668ed7b66d6efd9a1a03926e98546705d.zip | |
clean whitespace :/
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/sched.rs | 6 | ||||
| -rw-r--r-- | 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 6a624b1c135..a50618ba0ad 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<SchedHandle>) - -> 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::<Task>(); + let mut stask = Local::take::<Task>(); 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 12a6f6f37f7..290e57942f4 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(); |
