diff options
Diffstat (limited to 'src/mpsc/mod.rs')
-rw-r--r-- | src/mpsc/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mpsc/mod.rs b/src/mpsc/mod.rs index 28612da..44834b7 100644 --- a/src/mpsc/mod.rs +++ b/src/mpsc/mod.rs @@ -510,9 +510,8 @@ impl<T> BoundedSenderInner<T> { // Do the send without failing. // Can be called only by bounded sender. - #[allow(clippy::debug_assert_with_mut_call)] fn do_send_b(&mut self, msg: T) -> Result<(), TrySendError<T>> { - // Anyone callig do_send *should* make sure there is room first, + // Anyone calling do_send *should* make sure there is room first, // but assert here for tests as a sanity check. debug_assert!(self.poll_unparked(None).is_ready()); |