Skip to content

Commit

Permalink
util: copy paste error in documentation for Compat (#3088)
Browse files Browse the repository at this point in the history
  • Loading branch information
najamelan committed Nov 2, 2020
1 parent fede3db commit 4a7b7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-util/src/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pin_project! {
/// `futures_io::AsyncRead` to implement `tokio::io::AsyncRead`.
pub trait FuturesAsyncReadCompatExt: futures_io::AsyncRead {
/// Wraps `self` with a compatibility layer that implements
/// `tokio_io::AsyncWrite`.
/// `tokio_io::AsyncRead`.
fn compat(self) -> Compat<Self>
where
Self: Sized,
Expand Down

0 comments on commit 4a7b7c5

Please sign in to comment.