Skip to content

Commit eed5df5

Browse files
RalfJungsaethlin
andauthored
typo
Co-authored-by: Ben Kimock <[email protected]>
1 parent 2e0ca94 commit eed5df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2555,7 +2555,7 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
25552555
///
25562556
/// Additionally, note that changing `*dst` in this way can easily lead to undefined behavior (UB)
25572557
/// later if the written bytes are not a valid representation of some `T`. For instance, the
2558-
/// follwing is an **incorrect** use of this function:
2558+
/// following is an **incorrect** use of this function:
25592559
///
25602560
/// ```rust,no_run
25612561
/// unsafe {

0 commit comments

Comments
 (0)