diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-06 20:21:00 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-07 07:49:22 +0100 |
| commit | 1a2bc1102d9502a5058585f6422a974323a884a7 (patch) | |
| tree | 6c4fd55aea99098489c976397c135054ecd63881 /library/std/src/time.rs | |
| parent | aa029ce4d8f5048dafd44b6af794542ee19f7c37 (diff) | |
| download | rust-1a2bc1102d9502a5058585f6422a974323a884a7.tar.gz rust-1a2bc1102d9502a5058585f6422a974323a884a7.zip | |
Rust is a proper name: rust → Rust
Diffstat (limited to 'library/std/src/time.rs')
| -rw-r--r-- | library/std/src/time.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs index 91c010ef2b5..6f1a354d28a 100644 --- a/library/std/src/time.rs +++ b/library/std/src/time.rs @@ -59,7 +59,7 @@ pub use core::time::TryFromFloatSecsError; /// experience time dilation (slow down or speed up), but it will never go /// backwards. /// As part of this non-guarantee it is also not specified whether system suspends count as -/// elapsed time or not. The behavior varies across platforms and rust versions. +/// elapsed time or not. The behavior varies across platforms and Rust versions. /// /// Instants are opaque types that can only be compared to one another. There is /// no method to get "the number of seconds" from an instant. Instead, it only @@ -142,7 +142,7 @@ pub use core::time::TryFromFloatSecsError; /// where monotonicity is violated, or `Instant`s are subtracted in the wrong order. /// /// This workaround obscures programming errors where earlier and later instants are accidentally -/// swapped. For this reason future rust versions may reintroduce panics. +/// swapped. For this reason future Rust versions may reintroduce panics. /// /// [tier 1]: https://doc.rust-lang.org/rustc/platform-support.html /// [`duration_since`]: Instant::duration_since @@ -290,7 +290,7 @@ impl Instant { /// /// # Panics /// - /// Previous rust versions panicked when `earlier` was later than `self`. Currently this + /// Previous Rust versions panicked when `earlier` was later than `self`. Currently this /// method saturates. Future versions may reintroduce the panic in some circumstances. /// See [Monotonicity]. /// @@ -365,7 +365,7 @@ impl Instant { /// /// # Panics /// - /// Previous rust versions panicked when the current time was earlier than self. Currently this + /// Previous Rust versions panicked when the current time was earlier than self. Currently this /// method returns a Duration of zero in that case. Future versions may reintroduce the panic. /// See [Monotonicity]. /// @@ -450,7 +450,7 @@ impl Sub<Instant> for Instant { /// /// # Panics /// - /// Previous rust versions panicked when `other` was later than `self`. Currently this + /// Previous Rust versions panicked when `other` was later than `self`. Currently this /// method saturates. Future versions may reintroduce the panic in some circumstances. /// See [Monotonicity]. /// |
