Add link for Duration

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Denis Vasilik 2020-08-09 23:26:42 +02:00 committed by GitHub
parent ce244210b1
commit 9e71c13f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,8 @@ const MICROS_PER_SEC: u64 = 1_000_000;
/// nanosecond-level precision, APIs binding a system timeout will typically round up /// nanosecond-level precision, APIs binding a system timeout will typically round up
/// the number of nanoseconds. /// the number of nanoseconds.
/// ///
/// `Duration`s implement many common traits, including [`Add`], [`Sub`], and other /// [`Duration`]s implement many common traits, including [`Add`], [`Sub`], and other
/// [`ops`] traits. It implements `Default` by returning a zero-length `Duration`. /// [`ops`] traits. It implements [`Default`] by returning a zero-length `Duration`.
/// ///
/// [`ops`]: crate::ops /// [`ops`]: crate::ops
/// ///