Skip to content

Commit

Permalink
rustdoc: Add mutable to the description
Browse files Browse the repository at this point in the history
  • Loading branch information
yancyribbens committed Nov 7, 2022
1 parent 534ddc6 commit d62582f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3524,8 +3524,8 @@ impl<T> [T] {
}
}

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

0 comments on commit d62582f

Please sign in to comment.