about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDenis Vasilik <contact@denisvasilik.com>2020-08-09 23:26:42 +0200
committerGitHub <noreply@github.com>2020-08-09 23:26:42 +0200
commit9e71c13f28b8ca817f6629b1722ddbefd8c63076 (patch)
tree6f71423348b7e1dea456c0b79a0f6295562d77e4
parentce244210b16871e716539b1eb4de0f8390e4b732 (diff)
downloadrust-9e71c13f28b8ca817f6629b1722ddbefd8c63076.tar.gz
rust-9e71c13f28b8ca817f6629b1722ddbefd8c63076.zip
Add link for Duration
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--library/core/src/time.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/time.rs b/library/core/src/time.rs
index cdbad0332ce..5741f8a53b5 100644
--- a/library/core/src/time.rs
+++ b/library/core/src/time.rs
@@ -30,8 +30,8 @@ const MICROS_PER_SEC: u64 = 1_000_000;
 /// nanosecond-level precision, APIs binding a system timeout will typically round up
 /// the number of nanoseconds.
 ///
-/// `Duration`s implement many common traits, including [`Add`], [`Sub`], and other
-/// [`ops`] traits. It implements `Default` by returning a zero-length `Duration`.
+/// [`Duration`]s implement many common traits, including [`Add`], [`Sub`], and other
+/// [`ops`] traits. It implements [`Default`] by returning a zero-length `Duration`.
 ///
 /// [`ops`]: crate::ops
 ///