From f73a555fc9b5def7f444b58eff69965910a662ff Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Mon, 5 Jul 2021 12:40:23 +0200 Subject: [PATCH] Use american spelling for behaviour Co-authored-by: Yuki Okushi --- library/core/src/intrinsics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 7391992ca09..c5a4bbd3208 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -718,7 +718,7 @@ pub unsafe fn drop_in_place(to_drop: *mut T) { /// any safety invariants. /// /// [`std::process::abort`](../../std/process/fn.abort.html) is to be preferred if possible, - /// as its behaviour is more user-friendly and more stable. + /// as its behavior is more user-friendly and more stable. /// /// The current implementation of `intrinsics::abort` is to invoke an invalid instruction, /// on most platforms. -- GitLab