提交 f73a555f 编写于 作者: M Mara Bos

Use american spelling for behaviour

Co-authored-by: NYuki Okushi <jtitor@2k36.org>
上级 19c347ed
...@@ -718,7 +718,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) { ...@@ -718,7 +718,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
/// any safety invariants. /// any safety invariants.
/// ///
/// [`std::process::abort`](../../std/process/fn.abort.html) is to be preferred if possible, /// [`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, /// The current implementation of `intrinsics::abort` is to invoke an invalid instruction,
/// on most platforms. /// on most platforms.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册