about summary refs log tree commit diff
path: root/library/std/src/env.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/std/src/env.rs
parent017ae1b21f7be6dcdcfc95631e54bde806653a8a (diff)
downloadrust-854e3c43e005c992542a80bea9bbe16230470362.tar.gz
rust-854e3c43e005c992542a80bea9bbe16230470362.zip
library: consistently use American spelling for 'behavior'
Diffstat (limited to 'library/std/src/env.rs')
-rw-r--r--library/std/src/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs
index 97a1b846a91..d732a15117e 100644
--- a/library/std/src/env.rs
+++ b/library/std/src/env.rs
@@ -618,7 +618,7 @@ impl Error for JoinPathsError {
 ///
 /// # Deprecation
 ///
-/// This function is deprecated because the behaviour on Windows is not correct.
+/// This function is deprecated because the behavior on Windows is not correct.
 /// The 'HOME' environment variable is not standard on Windows, and may not produce
 /// desired results; for instance, under Cygwin or Mingw it will return `/home/you`
 /// when it should return `C:\Users\you`.