File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -606,8 +606,7 @@ mod prim_pointer {}
606
606
/// println!("array[{}] = {}", i, x);
607
607
/// }
608
608
///
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`
611
610
/// for item in IntoIterator::into_iter(array).enumerate() {
612
611
/// let (i, x): (usize, i32) = item;
613
612
/// println!("array[{}] = {}", i, x);
Original file line number Diff line number Diff line change @@ -606,8 +606,7 @@ mod prim_pointer {}
606
606
/// println!("array[{}] = {}", i, x);
607
607
/// }
608
608
///
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`
611
610
/// for item in IntoIterator::into_iter(array).enumerate() {
612
611
/// let (i, x): (usize, i32) = item;
613
612
/// println!("array[{}] = {}", i, x);
You can’t perform that action at this time.
0 commit comments