Skip to content

Commit eb3fc45

Browse files
committed
Update docs.
1 parent 1acb44f commit eb3fc45

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

library/core/src/primitive_docs.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,7 @@ mod prim_pointer {}
606606
/// println!("array[{}] = {}", i, x);
607607
/// }
608608
///
609-
/// // You can explicitly iterate an array by value using
610-
/// // `IntoIterator::into_iter` or `std::array::IntoIter::new`:
609+
/// // You can explicitly iterate an array by value using `IntoIterator::into_iter`
611610
/// for item in IntoIterator::into_iter(array).enumerate() {
612611
/// let (i, x): (usize, i32) = item;
613612
/// println!("array[{}] = {}", i, x);

library/std/src/primitive_docs.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,7 @@ mod prim_pointer {}
606606
/// println!("array[{}] = {}", i, x);
607607
/// }
608608
///
609-
/// // You can explicitly iterate an array by value using
610-
/// // `IntoIterator::into_iter` or `std::array::IntoIter::new`:
609+
/// // You can explicitly iterate an array by value using `IntoIterator::into_iter`
611610
/// for item in IntoIterator::into_iter(array).enumerate() {
612611
/// let (i, x): (usize, i32) = item;
613612
/// println!("array[{}] = {}", i, x);

0 commit comments

Comments
 (0)