summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tokio-util/src/compat.rs2
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,