From 40f404468aa76f5d099d9617cecf91f72ac375b0 Mon Sep 17 00:00:00 2001 From: yancy Date: Mon, 26 Sep 2022 20:20:13 +0200 Subject: [PATCH] rustdoc: Update doc comment for splitn_mut to include mutable in the description --- library/core/src/slice/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] { 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. ///