diff options
author | Naja Melan <najamelan@autistici.org> | 2020-11-02 12:25:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 13:25:51 +0100 |
commit | 4a7b7c52d12455cd16c5906ee900c744be17b32c (patch) | |
tree | 8008bf56e1b898a436838ddba91ffe61d3ba0309 | |
parent | fede3db76aef95c010c3e0c3da3b732380285097 (diff) |
util: copy paste error in documentation for Compat (#3088)
-rw-r--r-- | tokio-util/src/compat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-util/src/compat.rs b/tokio-util/src/compat.rs index f755c9b6..56faa33d 100644 --- a/tokio-util/src/compat.rs +++ b/tokio-util/src/compat.rs @@ -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, |