Skip to content

Commit

Permalink
Fix doc formatting for time.rs
Browse files Browse the repository at this point in the history
The doc states that instants are not steady, but the word "not" wasn't highlighted in bold.
  • Loading branch information
rosik authored Jan 10, 2022
1 parent d63a8d9 commit 2ae616a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub use core::time::FromSecsError;
/// instant when created, and are often useful for tasks such as measuring
/// benchmarks or timing how long an operation takes.
///
/// Note, however, that instants are not guaranteed to be **steady**. In other
/// Note, however, that instants are **not** guaranteed to be **steady**. In other
/// words, each tick of the underlying clock might not be the same length (e.g.
/// some seconds may be longer than others). An instant may jump forwards or
/// experience time dilation (slow down or speed up), but it will never go
Expand Down

0 comments on commit 2ae616a

Please sign in to comment.