Skip to content

Commit d62582f

Browse files
committed
rustdoc: Add mutable to the description
1 parent 534ddc6 commit d62582f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/slice/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3524,8 +3524,8 @@ impl<T> [T] {
35243524
}
35253525
}
35263526

3527-
/// Transmute the slice to a slice of another type, ensuring alignment of the types is
3528-
/// maintained.
3527+
/// Transmute the mutable slice to a mutable slice of another type, ensuring alignment of the
3528+
/// types is maintained.
35293529
///
35303530
/// This method splits the slice into three distinct slices: prefix, correctly aligned middle
35313531
/// slice of a new type, and the suffix slice. The method may make the middle slice the greatest

0 commit comments

Comments
 (0)