File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ impl Scheduler {
105
105
sleeper_list : SleeperList ,
106
106
run_anything : bool ,
107
107
friend : Option < SchedHandle > )
108
- -> Scheduler {
108
+ -> Scheduler {
109
109
110
110
let mut event_loop = event_loop;
111
111
let idle_callback = event_loop. pausible_idle_callback ( ) ;
@@ -124,7 +124,7 @@ impl Scheduler {
124
124
metrics : SchedMetrics :: new ( ) ,
125
125
run_anything : run_anything,
126
126
friend_handle : friend,
127
- rng : XorShiftRng :: new ( ) ,
127
+ rng : XorShiftRng :: new ( ) ,
128
128
idle_callback : idle_callback
129
129
}
130
130
}
@@ -174,7 +174,7 @@ impl Scheduler {
174
174
// cleaning up the memory it uses. As we didn't actually call
175
175
// task.run() on the scheduler task we never get through all
176
176
// the cleanup code it runs.
177
- let mut stask = Local :: take :: < Task > ( ) ;
177
+ let mut stask = Local :: take :: < Task > ( ) ;
178
178
179
179
rtdebug ! ( "stopping scheduler %u" , stask. sched. get_ref( ) . sched_id( ) ) ;
180
180
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ impl UvPausibleIdleCallback {
178
178
self . closed = true ;
179
179
self . watcher . close ( ||( ) ) ;
180
180
}
181
- }
181
+ }
182
182
}
183
183
184
184
#[ test]
@@ -232,8 +232,8 @@ impl UvRemoteCallback {
232
232
// could be called in the other thread, missing the final
233
233
// callback while still destroying the handle.
234
234
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)
237
237
} ;
238
238
239
239
f ( ) ;
You can’t perform that action at this time.
0 commit comments