diff options
author | Carl Lerche <me@carllerche.com> | 2020-07-24 16:28:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 16:28:24 -0700 |
commit | 9943acda81e19563c9f35ad2426e473732760e75 (patch) | |
tree | f73298e9a38e90b15756634558d0c9e103544853 /tokio | |
parent | 4fca1974e9d9f95fab7d723619294cb4b2dcebbb (diff) |
chore: complete CI migration to Github Actions (#2680)
Diffstat (limited to 'tokio')
-rw-r--r-- | tokio/src/io/util/async_read_ext.rs | 4 | ||||
-rw-r--r-- | tokio/src/time/tests/test_delay.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/io/util/async_read_ext.rs b/tokio/src/io/util/async_read_ext.rs index 1ed7e6cf..dd280a18 100644 --- a/tokio/src/io/util/async_read_ext.rs +++ b/tokio/src/io/util/async_read_ext.rs @@ -990,7 +990,7 @@ cfg_io_util! { /// /// If successful, the total number of bytes read is returned. /// - /// [`read()`]: fn@crate::io::AsyncReadExt::read + /// [`read()`]: AsyncReadExt::read /// /// # Errors /// @@ -1084,6 +1084,8 @@ cfg_io_util! { /// /// [`read()`]: fn@crate::io::AsyncReadExt::read /// + /// [read]: AsyncReadExt::read + /// /// # Examples /// /// [`File`][crate::fs::File]s implement `Read`: diff --git a/tokio/src/time/tests/test_delay.rs b/tokio/src/time/tests/test_delay.rs index f843434b..b708f6fc 100644 --- a/tokio/src/time/tests/test_delay.rs +++ b/tokio/src/time/tests/test_delay.rs @@ -1,5 +1,3 @@ -#![warn(rust_2018_idioms)] - use crate::park::{Park, Unpark}; use crate::time::driver::{Driver, Entry, Handle}; use crate::time::Clock; |