Skip to content

Commit c867529

Browse files
authored
Show #![feature] in example.
1 parent 967c0ad commit c867529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ impl<'a, T> IterMut<'a, T> {
315315
/// Basic usage:
316316
///
317317
/// ```
318-
/// # #![feature(slice_iter_mut_as_mut_slice)]
318+
/// #![feature(slice_iter_mut_as_mut_slice)]
319319
///
320320
/// let mut slice: &mut [usize] = &mut [1, 2, 3];
321321
///

0 commit comments

Comments
 (0)