diff --git a/tokio-util/src/compat.rs b/tokio-util/src/compat.rs index f755c9b6b..56faa33dc 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 where Self: Sized,