File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,12 @@ impl fmt::Debug for Duration {
51
51
}
52
52
}
53
53
54
- /// This is adapted from the `std` implementation, which uses mostly bit
54
+ /// This is adapted from the [ `std` implementation][std] , which uses mostly bit
55
55
/// operations to ensure the highest precision:
56
- /// https://github.com/rust-lang/rust/blob/3a37c2f0523c87147b64f1b8099fc9df22e8c53e/library/core/src/time.rs#L1262-L1340
56
+ ///
57
57
/// Changes from `std` are marked and explained below.
58
+ ///
59
+ /// [std]: https://github.com/rust-lang/rust/blob/3a37c2f0523c87147b64f1b8099fc9df22e8c53e/library/core/src/time.rs#L1262-L1340
58
60
#[ rustfmt:: skip] // Skip `rustfmt` because it reformats the arguments of the macro weirdly.
59
61
macro_rules! try_from_secs {
60
62
(
You can’t perform that action at this time.
0 commit comments