Skip to content

Commit 67e0755

Browse files
authored
Typo
1 parent a81e9a7 commit 67e0755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5797,7 +5797,7 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksExactMut<'a, T> {
57975797
/// // `a` and `b` are different allocated objects...
57985798
/// let a = 42;
57995799
/// let b = 27;
5800-
/// // ... which may nevertheless be laid out contiguous in memory: | a | b |
5800+
/// // ... which may nevertheless be laid out contiguously in memory: | a | b |
58015801
/// let _ = join_slices(slice::from_ref(&a), slice::from_ref(&b)); // UB
58025802
/// }
58035803
/// ```

0 commit comments

Comments
 (0)