about summary refs log tree commit diff
path: root/library/core/src/option.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-25 12:01:08 +0200
committerRalf Jung <post@ralfj.de>2024-10-25 12:02:47 +0200
commit854e3c43e005c992542a80bea9bbe16230470362 (patch)
tree8d818508ebc787af9adaf2df7eddc403594b5746 /library/core/src/option.rs
parent017ae1b21f7be6dcdcfc95631e54bde806653a8a (diff)
downloadrust-854e3c43e005c992542a80bea9bbe16230470362.tar.gz
rust-854e3c43e005c992542a80bea9bbe16230470362.zip
library: consistently use American spelling for 'behavior'
Diffstat (limited to 'library/core/src/option.rs')
-rw-r--r--library/core/src/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs
index 0b996c40c04..2aa4f172368 100644
--- a/library/core/src/option.rs
+++ b/library/core/src/option.rs
@@ -150,7 +150,7 @@
 //! It is further guaranteed that, for the cases above, one can
 //! [`mem::transmute`] from all valid values of `T` to `Option<T>` and
 //! from `Some::<T>(_)` to `T` (but transmuting `None::<T>` to `T`
-//! is undefined behaviour).
+//! is undefined behavior).
 //!
 //! # Method overview
 //!