Skip to content

Commit

Permalink
Rollup merge of rust-lang#92720 - rosik:patch-1, r=m-ou-se
Browse files Browse the repository at this point in the history
Fix doc formatting for time.rs

The doc states that instants are not steady, but the word "not" wasn't highlighted in bold.
  • Loading branch information
matthiaskrgr committed Jan 11, 2022
2 parents 142f040 + 2ae616a commit 2383d92
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 2383d92

Please sign in to comment.