Skip to content

Commit

Permalink
clean whitespace :/
Browse files Browse the repository at this point in the history
  • Loading branch information
toddaaro committed Aug 19, 2013
1 parent 20213fc commit e5ccf13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/libstd/rt/sched.rs
Expand Up @@ -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();
Expand All @@ -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
}
}
Expand Down Expand Up @@ -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());

Expand Down
6 changes: 3 additions & 3 deletions src/libstd/rt/uv/uvio.rs
Expand Up @@ -178,7 +178,7 @@ impl UvPausibleIdleCallback {
self.closed = true;
self.watcher.close(||());
}
}
}
}

#[test]
Expand Down Expand Up @@ -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();
Expand Down

5 comments on commit e5ccf13

@bors
Copy link
Contributor

@bors bors commented on e5ccf13 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from catamorphism, brson
at toddaaro@e5ccf13

@bors
Copy link
Contributor

@bors bors commented on e5ccf13 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging toddaaro/rust/idle-opt+cleaning = e5ccf13 into auto

@bors
Copy link
Contributor

@bors bors commented on e5ccf13 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toddaaro/rust/idle-opt+cleaning = e5ccf13 merged ok, testing candidate = 67c954e

@bors
Copy link
Contributor

@bors bors commented on e5ccf13 Aug 20, 2013

@bors
Copy link
Contributor

@bors bors commented on e5ccf13 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 67c954e

Please sign in to comment.