File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ where
302
302
}
303
303
304
304
// The code below is a manual expansion of the code that pin-project-lite would
305
- // generate. This is done because pin-project-lite fails by hitting the recusion
305
+ // generate. This is done because pin-project-lite fails by hitting the recursion
306
306
// limit on this struct. (Every line of documentation is handled recursively by
307
307
// the macro.)
308
308
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ impl Interest {
239
239
240
240
if self . is_error ( ) {
241
241
// There is no error interest in mio, because error events are always reported.
242
- // But mio interests cannot be empty and an interest is needed just for the registeration .
242
+ // But mio interests cannot be empty and an interest is needed just for the registration .
243
243
//
244
244
// read readiness is filtered out in `Interest::mask` or `Ready::from_interest` if
245
245
// the read interest was not specified by the user.
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ impl<T> Local<T> {
179
179
/// Pushes a task to the back of the local queue, if there is not enough
180
180
/// capacity in the queue, this triggers the overflow operation.
181
181
///
182
- /// When the queue overflows, half of the curent contents of the queue is
182
+ /// When the queue overflows, half of the current contents of the queue is
183
183
/// moved to the given Injection queue. This frees up capacity for more
184
184
/// tasks to be pushed into the local queue.
185
185
pub ( crate ) fn push_back_or_overflow < O : Overflow < T > > (
Original file line number Diff line number Diff line change @@ -795,7 +795,7 @@ impl Core {
795
795
// safety: passing in the correct `inject::Synced`.
796
796
let mut tasks = unsafe { worker. inject ( ) . pop_n ( & mut synced. inject , n) } ;
797
797
798
- // Pop the first task to return immedietly
798
+ // Pop the first task to return immediately
799
799
let ret = tasks. next ( ) ;
800
800
801
801
// Push the rest of the on the run queue
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ impl<T> Local<T> {
163
163
/// Pushes a task to the back of the local queue, if there is not enough
164
164
/// capacity in the queue, this triggers the overflow operation.
165
165
///
166
- /// When the queue overflows, half of the curent contents of the queue is
166
+ /// When the queue overflows, half of the current contents of the queue is
167
167
/// moved to the given Injection queue. This frees up capacity for more
168
168
/// tasks to be pushed into the local queue.
169
169
pub ( crate ) fn push_back_or_overflow < O : Overflow < T > > (
Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ impl Worker {
563
563
let maybe_task = cx. shared ( ) . next_remote_task_synced ( & mut synced) ;
564
564
( maybe_task, core)
565
565
} else {
566
- // block the thread to wait for a core to be assinged to us
566
+ // block the thread to wait for a core to be assigned to us
567
567
self . wait_for_core ( cx, synced) ?
568
568
}
569
569
}
@@ -801,7 +801,7 @@ impl Worker {
801
801
// safety: passing in the correct `inject::Synced`.
802
802
let mut tasks = unsafe { cx. shared ( ) . inject . pop_n ( & mut synced. inject , n) } ;
803
803
804
- // Pop the first task to return immedietly
804
+ // Pop the first task to return immediately
805
805
let ret = tasks. next ( ) ;
806
806
807
807
// Push the rest of the on the run queue
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ async fn reset() {
205
205
}
206
206
207
207
#[ tokio:: test( start_paused = true ) ]
208
- async fn reset_immediatelly ( ) {
208
+ async fn reset_immediately ( ) {
209
209
let start = Instant :: now ( ) ;
210
210
211
211
// This is necessary because the timer is only so granular, and in order for
You can’t perform that action at this time.
0 commit comments