Show #![feature] in example.
This commit is contained in:
parent
967c0ad587
commit
c867529461
@ -315,7 +315,7 @@ pub fn as_slice(&self) -> &[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];
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user