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/thread/mod.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/thread/mod.rs')
| -rw-r--r-- | library/std/src/thread/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs index 70aa3170c6e..227ee9d64f3 100644 --- a/library/std/src/thread/mod.rs +++ b/library/std/src/thread/mod.rs @@ -878,7 +878,7 @@ pub fn sleep(dur: Duration) { /// /// # Platform-specific behavior /// -/// This function uses [`sleep`] internally, see its platform-specific behaviour. +/// This function uses [`sleep`] internally, see its platform-specific behavior. /// /// /// # Examples @@ -949,7 +949,7 @@ pub fn sleep_until(deadline: Instant) { } /// Used to ensure that `park` and `park_timeout` do not unwind, as that can -/// cause undefined behaviour if not handled correctly (see #102398 for context). +/// cause undefined behavior if not handled correctly (see #102398 for context). struct PanicGuard; impl Drop for PanicGuard { |
