diff options
| author | yancy <yancy@yancy.lol> | 2022-09-26 20:20:13 +0200 |
|---|---|---|
| committer | yancy <yancy@yancy.lol> | 2022-09-26 20:20:13 +0200 |
| commit | 40f404468aa76f5d099d9617cecf91f72ac375b0 (patch) | |
| tree | a2ce7219b92c259d605f0579d91039a3f57adeb1 | |
| parent | e1d7dec558d863fb76f98453088b36cb1a926d48 (diff) | |
| download | rust-40f404468aa76f5d099d9617cecf91f72ac375b0.tar.gz rust-40f404468aa76f5d099d9617cecf91f72ac375b0.zip | |
rustdoc: Update doc comment for splitn_mut to include mutable in the description
| -rw-r--r-- | library/core/src/slice/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index cd04fa00442..aed8fbf092e 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -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. /// |
