Skip to content

Commit

Permalink
Fix clippy::doc_lazy_continuation warning
Browse files Browse the repository at this point in the history
```
error: doc list item without indentation
  --> src/lib.rs:13:5
   |
13 | //!   `AsyncBufRead`, and `AsyncSeek`.
   |     ^^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
help: indent this line
   |
13 | //!    `AsyncBufRead`, and `AsyncSeek`.
   |       +
```
  • Loading branch information
taiki-e committed Oct 20, 2024
1 parent dea60af commit f0c2d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! only means the future sets a thread-local variable pointing to the global tokio runtime so
//! that tokio's types can be used inside it.
//! 2. Tokio and futures have similar but different I/O traits `AsyncRead`, `AsyncWrite`,
//! `AsyncBufRead`, and `AsyncSeek`.
//! `AsyncBufRead`, and `AsyncSeek`.
//! - Solution: When the [`Compat`] adapter is applied to an I/O type, it will implement traits
//! of the opposite kind. That's how you can use tokio-based types wherever futures-based
//! types are expected, and the other way around.
Expand Down

0 comments on commit f0c2d2f

Please sign in to comment.