Skip to content

Commit

Permalink
rustdoc: Update doc comment for splitn_mut to include mutable in the …
Browse files Browse the repository at this point in the history
…description
  • Loading branch information
yancyribbens committed Sep 26, 2022
1 parent e1d7dec commit 40f4044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ impl<T> [T] {
SplitN::new(self.split(pred), n)
}

/// Returns an iterator over subslices separated by elements that match
/// Returns an iterator over mutable subslices separated by elements that match
/// `pred`, limited to returning at most `n` items. The matched element is
/// not contained in the subslices.
///
Expand Down

0 comments on commit 40f4044

Please sign in to comment.