library: consistently use American spelling for 'behavior'

This commit is contained in:
Ralf Jung
2024-10-25 12:01:08 +02:00
parent 017ae1b21f
commit 854e3c43e0
46 changed files with 75 additions and 75 deletions

View File

@@ -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 {