From 4a7b7c52d12455cd16c5906ee900c744be17b32c Mon Sep 17 00:00:00 2001 From: Naja Melan Date: Mon, 2 Nov 2020 12:25:51 +0000 Subject: util: copy paste error in documentation for Compat (#3088) --- tokio-util/src/compat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 where Self: Sized, -- cgit v1.2.3