about summary refs log tree commit diff
path: root/library/std/src/time.rs
diff options
context:
space:
mode:
authorYaroslav Dynnikov <yaroslav.dynnikov@gmail.com>2022-01-10 14:22:45 +0300
committerGitHub <noreply@github.com>2022-01-10 14:22:45 +0300
commit2ae616af302d6022fbc3234122bc3bb71915c073 (patch)
tree27810a73c3b31755a00a443a9d348b7cad79e890 /library/std/src/time.rs
parentd63a8d965e76f29a2b65c1f22a32613df1fe5c2c (diff)
downloadrust-2ae616af302d6022fbc3234122bc3bb71915c073.tar.gz
rust-2ae616af302d6022fbc3234122bc3bb71915c073.zip
Fix doc formatting for time.rs
The doc states that instants are not steady, but the word "not" wasn't highlighted in bold.
Diffstat (limited to 'library/std/src/time.rs')
-rw-r--r--library/std/src/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs
index 86cc93c4453..b6867e68df7 100644
--- a/library/std/src/time.rs
+++ b/library/std/src/time.rs
@@ -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