about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2022-06-20 10:00:55 +0200
committerGitHub <noreply@github.com>2022-06-20 10:00:55 +0200
commitc867529461427bfb38e5a17461495b6a451ee374 (patch)
treef9659c4ffe1ec655ca58792d8d4db40c3140519b
parent967c0ad5879f95c3663a1a0c7f02b2038f7eadb9 (diff)
downloadrust-c867529461427bfb38e5a17461495b6a451ee374.tar.gz
rust-c867529461427bfb38e5a17461495b6a451ee374.zip
Show #![feature] in example.
-rw-r--r--library/core/src/slice/iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/iter.rs b/library/core/src/slice/iter.rs
index 2821109cd89..7f9f3ab2708 100644
--- a/library/core/src/slice/iter.rs
+++ b/library/core/src/slice/iter.rs
@@ -315,7 +315,7 @@ impl<'a, T> IterMut<'a, T> {
     /// Basic usage:
     ///
     /// ```
-    /// # #![feature(slice_iter_mut_as_mut_slice)]
+    /// #![feature(slice_iter_mut_as_mut_slice)]
     ///
     /// let mut slice: &mut [usize] = &mut [1, 2, 3];
     ///