diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-25 12:01:08 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-25 12:02:47 +0200 |
| commit | 854e3c43e005c992542a80bea9bbe16230470362 (patch) | |
| tree | 8d818508ebc787af9adaf2df7eddc403594b5746 /library/std/src/time.rs | |
| parent | 017ae1b21f7be6dcdcfc95631e54bde806653a8a (diff) | |
| download | rust-854e3c43e005c992542a80bea9bbe16230470362.tar.gz rust-854e3c43e005c992542a80bea9bbe16230470362.zip | |
library: consistently use American spelling for 'behavior'
Diffstat (limited to 'library/std/src/time.rs')
| -rw-r--r-- | library/std/src/time.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs index f28a0568a3c..9f4f8a0d088 100644 --- a/library/std/src/time.rs +++ b/library/std/src/time.rs @@ -178,9 +178,9 @@ pub struct Instant(time::Instant); /// system. /// /// A `SystemTime` does not count leap seconds. -/// `SystemTime::now()`'s behaviour around a leap second +/// `SystemTime::now()`'s behavior around a leap second /// is the same as the operating system's wall clock. -/// The precise behaviour near a leap second +/// The precise behavior near a leap second /// (e.g. whether the clock appears to run slow or fast, or stop, or jump) /// depends on platform and configuration, /// so should not be relied on. |
