rustdoc: Update doc comment for splitn_mut to include mutable in the description

This commit is contained in:
yancy 2022-09-26 20:20:13 +02:00
parent e1d7dec558
commit 40f404468a

View File

@ -2076,7 +2076,7 @@ pub fn splitn<F>(&self, n: usize, pred: F) -> SplitN<'_, T, F>
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.
///