diff --git a/tokio/src/runtime/park.rs b/tokio/src/runtime/park.rs index d0ab07a60..cf502c404 100644 --- a/tokio/src/runtime/park.rs +++ b/tokio/src/runtime/park.rs @@ -313,7 +313,7 @@ impl Inner { } } -// TODO: Is this really a unsafe function? +// TODO: Is this really an unsafe function? unsafe fn unparker_to_raw_waker(unparker: Arc) -> RawWaker { RawWaker::new( Inner::into_raw(unparker), diff --git a/tokio/src/sync/mpsc/bounded.rs b/tokio/src/sync/mpsc/bounded.rs index 97db06b39..c5ebb4749 100644 --- a/tokio/src/sync/mpsc/bounded.rs +++ b/tokio/src/sync/mpsc/bounded.rs @@ -1128,7 +1128,7 @@ impl Sender { /// A [`PermitIterator`] is returned to track the reserved capacity. /// You can call this [`Iterator`] until it is exhausted to /// get a [`Permit`] and then call [`Permit::send`]. This function is similar to - /// [`try_reserve_many`] except it awaits for the slots to become available. + /// [`try_reserve_many`] except it waits for the slots to become available. /// /// If the channel is closed, the function returns a [`SendError`]. ///