Skip to content

Commit 0ec4d0d

Browse files
authored
docs: remove redundant words in comment (#7224)
1 parent d83ba30 commit 0ec4d0d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tokio-stream/src/pending.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ unsafe impl<T> Sync for Pending<T> {}
1717
///
1818
/// The returned stream is never ready. Attempting to call
1919
/// [`next()`](crate::StreamExt::next) will never complete. Use
20-
/// [`stream::empty()`](super::empty()) to obtain a stream that is is
20+
/// [`stream::empty()`](super::empty()) to obtain a stream that is
2121
/// immediately empty but returns no values.
2222
///
2323
/// # Examples

tokio/src/runtime/scheduler/inject/rt_multi_thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl<T: 'static> Shared<T> {
6060

6161
/// Inserts several tasks that have been linked together into the queue.
6262
///
63-
/// The provided head and tail may be be the same task. In this case, a
63+
/// The provided head and tail may be the same task. In this case, a
6464
/// single task is inserted.
6565
#[inline]
6666
unsafe fn push_batch_inner<L>(

tokio/src/util/metric_atomics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cfg_64bit_metrics! {
44
use std::sync::atomic::AtomicU64;
55
}
66

7-
/// `AtomicU64` that is is a no-op on platforms without 64-bit atomics
7+
/// `AtomicU64` that is a no-op on platforms without 64-bit atomics
88
///
99
/// When used on platforms without 64-bit atomics, writes to this are no-ops.
1010
/// The `load` method is only defined when 64-bit atomics are available.

0 commit comments

Comments
 (0)