From 9e71c13f28b8ca817f6629b1722ddbefd8c63076 Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Sun, 9 Aug 2020 23:26:42 +0200 Subject: [PATCH] Add link for Duration Co-authored-by: Joshua Nelson --- library/core/src/time.rs | 4 ++-- 1 file 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 @@ /// 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 /// -- GitLab