Show #![feature] in example.

This commit is contained in:
Mara Bos 2022-06-20 10:00:55 +02:00 committed by GitHub
parent 967c0ad587
commit c867529461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];
///