File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments