diff options
author | Carl Lerche <me@carllerche.com> | 2019-12-22 12:55:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 12:55:09 -0800 |
commit | 7b53b7b659fe1feeb30e768cad8fdadf9531beb6 (patch) | |
tree | ce4020f1e63ee9ecaa822ccd9961de6542bb91c3 /tokio/src/io/util | |
parent | 99fa93bf0ea504413f6e53b46fbefdee4c0a0904 (diff) |
doc: fill out `fs` and remove html links (#2015)
also add an async version of `fs::canonicalize`
Diffstat (limited to 'tokio/src/io/util')
-rw-r--r-- | tokio/src/io/util/copy.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/io/util/copy.rs b/tokio/src/io/util/copy.rs index 312ff360..0a2aea73 100644 --- a/tokio/src/io/util/copy.rs +++ b/tokio/src/io/util/copy.rs @@ -12,7 +12,7 @@ cfg_io_util! { /// This struct is generally created by calling [`copy`][copy]. Please /// see the documentation of `copy()` for more details. /// - /// [copy]: fn.copy.html + /// [copy]: copy() #[derive(Debug)] #[must_use = "futures do nothing unless you `.await` or poll them"] pub struct Copy<'a, R: ?Sized, W: ?Sized> { @@ -57,7 +57,7 @@ cfg_io_util! { /// # } /// ``` /// - /// [std]: https://doc.rust-lang.org/std/io/fn.copy.html + /// [std]: std::io::copy pub fn copy<'a, R, W>(reader: &'a mut R, writer: &'a mut W) -> Copy<'a, R, W> where R: AsyncRead + Unpin + ?Sized, |