Skip to content

Commit 37f061a

Browse files
authored
Rollup merge of #92720 - rosik:patch-1, r=m-ou-se
Fix doc formatting for time.rs The doc states that instants are not steady, but the word "not" wasn't highlighted in bold.
2 parents 5d904c1 + 2ae616a commit 37f061a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/time.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub use core::time::FromSecsError;
5454
/// instant when created, and are often useful for tasks such as measuring
5555
/// benchmarks or timing how long an operation takes.
5656
///
57-
/// Note, however, that instants are not guaranteed to be **steady**. In other
57+
/// Note, however, that instants are **not** guaranteed to be **steady**. In other
5858
/// words, each tick of the underlying clock might not be the same length (e.g.
5959
/// some seconds may be longer than others). An instant may jump forwards or
6060
/// experience time dilation (slow down or speed up), but it will never go

0 commit comments

Comments
 (0)