docs: fix typos in bounded.rs and park.rs (#7817)

This commit is contained in:
Aman Gupta
2026-01-01 19:22:17 +01:00
committed by GitHub
parent c27bed36ac
commit bd3940c14f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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<Inner>) -> RawWaker {
RawWaker::new(
Inner::into_raw(unparker),
+1 -1
View File
@@ -1128,7 +1128,7 @@ impl<T> Sender<T> {
/// 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`].
///