about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-07-11 09:49:55 -0400
committerGitHub <noreply@github.com>2022-07-11 09:49:55 -0400
commiteed5df52f63dbf19030fb99045334252fcd5b366 (patch)
treedbaf4d3a1b4ac488895ddc4ee70bca4070f7ac71
parent2e0ca9472ba3ec1532bb752f7ea1f477f8c34c90 (diff)
downloadrust-eed5df52f63dbf19030fb99045334252fcd5b366.tar.gz
rust-eed5df52f63dbf19030fb99045334252fcd5b366.zip
typo
Co-authored-by: Ben Kimock <kimockb@gmail.com>
-rw-r--r--library/core/src/intrinsics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index d7ed82e71b6..5f40a59f0b8 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -2555,7 +2555,7 @@ pub const unsafe fn copy<T>(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 {