put feature attribute in example

This commit is contained in:
Amogh Shivaram 2025-06-06 23:06:23 -05:00
parent 230b55dcf8
commit e4e77737f9

View file

@ -3011,6 +3011,8 @@ impl<T, A: Allocator> Vec<T, A> {
/// # Examples
///
/// ```
/// #![feature(vec_into_chunks)]
///
/// let vec = vec![0, 1, 2, 3, 4, 5, 6, 7];
/// assert_eq!(vec.into_chunks::<3>(), [[0, 1, 2], [3, 4, 5]]);
///