From eed5df52f63dbf19030fb99045334252fcd5b366 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 11 Jul 2022 09:49:55 -0400 Subject: [PATCH] typo Co-authored-by: Ben Kimock --- 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 d7ed82e71b6a..5f40a59f0b8e 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -2555,7 +2555,7 @@ pub const unsafe fn copy(src: *const T, dst: *mut T, count: usize) { /// /// Additionally, note that changing `*dst` in this way can easily lead to undefined behavior (UB) /// later if the written bytes are not a valid representation of some `T`. For instance, the -/// follwing is an **incorrect** use of this function: +/// following is an **incorrect** use of this function: /// /// ```rust,no_run /// unsafe {