util: copy paste error in documentation for Compat (#3088)

This commit is contained in:
Naja Melan
2020-11-02 13:25:51 +01:00
committed by GitHub
parent fede3db76a
commit 4a7b7c52d1
+1 -1
View File
@@ -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,