Fix some broken doc links (#413)

This commit is contained in:
Carl Lerche
2018-06-13 09:02:46 -07:00
committed by GitHub
parent 4ebaf18c27
commit 2e0cd292d2
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
//! tests or performing caching operations to reduce the number of syscalls.
//!
//! Note that, because the source of time is configurable, it is possible to
//! observe non-monotonic behavior when calling [`now`] from different
//! observe non-monotonic behavior when calling [`now`][n] from different
//! executors.
//!
//! [n]: fn.now.html
+4
View File
@@ -84,6 +84,10 @@ use std::sync::atomic::Ordering::Relaxed;
/// [`mio::Evented`]: https://docs.rs/mio/0.6/mio/trait.Evented.html
/// [`Registration`]: struct.Registration.html
/// [`TcpListener`]: ../net/struct.TcpListener.html
/// [`clear_read_ready`]: #method.clear_read_ready
/// [`clear_write_ready`]: #method.clear_write_ready
/// [`poll_read_ready`]: #method.poll_read_ready
/// [`poll_write_ready`]: #method.poll_write_ready
pub struct PollEvented<E: Evented> {
io: Option<E>,
inner: Inner,
+1 -1
View File
@@ -26,7 +26,7 @@ thread_local!(static CLOCK: Cell<Option<*const Clock>> = Cell::new(None));
/// execution context. By default, this is `Instant::now()`.
///
/// Note that, because the source of time is configurable, it is possible to
/// observe non-monotonic behavior when calling [`now`] from different
/// observe non-monotonic behavior when calling `now` from different
/// executors.
///
/// See [module](index.html) level documentation for more details.
+1 -1
View File
@@ -7,7 +7,7 @@
//! The [`now`][n] function returns the current `Instant`. By default, it delegates
//! to [`Instant::now`][std].
//!
//! The source of time used by [`now`] can be configured by implementing the
//! The source of time used by [`now`][n] can be configured by implementing the
//! [`Now`] trait and passing an instance to [`with_default`].
//!
//! [n]: fn.now.html