Skip to content

Commit e5ccf13

Browse files
committed
clean whitespace :/
1 parent 20213fc commit e5ccf13

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/libstd/rt/sched.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl Scheduler {
105105
sleeper_list: SleeperList,
106106
run_anything: bool,
107107
friend: Option<SchedHandle>)
108-
-> Scheduler {
108+
-> Scheduler {
109109

110110
let mut event_loop = event_loop;
111111
let idle_callback = event_loop.pausible_idle_callback();
@@ -124,7 +124,7 @@ impl Scheduler {
124124
metrics: SchedMetrics::new(),
125125
run_anything: run_anything,
126126
friend_handle: friend,
127-
rng: XorShiftRng::new(),
127+
rng: XorShiftRng::new(),
128128
idle_callback: idle_callback
129129
}
130130
}
@@ -174,7 +174,7 @@ impl Scheduler {
174174
// cleaning up the memory it uses. As we didn't actually call
175175
// task.run() on the scheduler task we never get through all
176176
// the cleanup code it runs.
177-
let mut stask = Local::take::<Task>();
177+
let mut stask = Local::take::<Task>();
178178

179179
rtdebug!("stopping scheduler %u", stask.sched.get_ref().sched_id());
180180

src/libstd/rt/uv/uvio.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ impl UvPausibleIdleCallback {
178178
self.closed = true;
179179
self.watcher.close(||());
180180
}
181-
}
181+
}
182182
}
183183

184184
#[test]
@@ -232,8 +232,8 @@ impl UvRemoteCallback {
232232
// could be called in the other thread, missing the final
233233
// callback while still destroying the handle.
234234

235-
let should_exit = unsafe {
236-
exit_flag_clone.with_imm(|&should_exit| should_exit)
235+
let should_exit = unsafe {
236+
exit_flag_clone.with_imm(|&should_exit| should_exit)
237237
};
238238

239239
f();

0 commit comments

Comments
 (0)