Skip to content

Commit 06a9d6b

Browse files
committed
clippy: fixes for "doc list item without indentation" lint
1 parent 39e5f27 commit 06a9d6b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

futures-core/src/stream.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ pub trait Stream {
3838
/// stream state:
3939
///
4040
/// - `Poll::Pending` means that this stream's next value is not ready
41-
/// yet. Implementations will ensure that the current task will be notified
42-
/// when the next value may be ready.
41+
/// yet. Implementations will ensure that the current task will be notified
42+
/// when the next value may be ready.
4343
///
4444
/// - `Poll::Ready(Some(val))` means that the stream has successfully
45-
/// produced a value, `val`, and may produce further values on subsequent
46-
/// `poll_next` calls.
45+
/// produced a value, `val`, and may produce further values on subsequent
46+
/// `poll_next` calls.
4747
///
4848
/// - `Poll::Ready(None)` means that the stream has terminated, and
49-
/// `poll_next` should not be invoked again.
49+
/// `poll_next` should not be invoked again.
5050
///
5151
/// # Panics
5252
///

futures-util/src/abortable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl<T> Abortable<T> {
6464
/// This means that it will return `true` even if:
6565
/// * `abort` was called after the task had completed.
6666
/// * `abort` was called while the task was being polled - the task may still be running and
67-
/// will not be stopped until `poll` returns.
67+
/// will not be stopped until `poll` returns.
6868
pub fn is_aborted(&self) -> bool {
6969
self.inner.aborted.load(Ordering::Relaxed)
7070
}
@@ -200,7 +200,7 @@ impl AbortHandle {
200200
/// even if:
201201
/// * `abort` was called after the task had completed.
202202
/// * `abort` was called while the task was being polled - the task may still be running and
203-
/// will not be stopped until `poll` returns.
203+
/// will not be stopped until `poll` returns.
204204
///
205205
/// This operation has a Relaxed ordering.
206206
pub fn is_aborted(&self) -> bool {

futures-util/src/stream/stream/flatten_unordered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl SharedPollState {
119119
/// - `!WAKING` as
120120
/// * Wakers called during the `POLLING` phase won't propagate their calls
121121
/// * `POLLING` phase can't start if some of the wakers are active
122-
/// So no wrapped waker can touch the inner waker's cell, it's safe to poll again.
122+
/// So no wrapped waker can touch the inner waker's cell, it's safe to poll again.
123123
fn stop_polling(&self, to_poll: u8, will_be_woken: bool) -> u8 {
124124
self.state
125125
.fetch_update(Ordering::SeqCst, Ordering::SeqCst, |mut value| {

0 commit comments

Comments
 (0)