Skip to content

Commit b030a0b

Browse files
committed
Switch to new vec iterator name
1 parent 236b5a3 commit b030a0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

types/array.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Multi-dimensional arrays with per-dimension specifiable lower bounds
22
33
use std::cast;
4-
use std::vec::VecIterator;
4+
use std::vec;
55

66
/// Information about a dimension of an array
77
#[deriving(Eq, Clone)]
@@ -143,7 +143,7 @@ impl<T> ArrayBase<T> {
143143

144144
/// Returns an iterator over the values in this array, in the
145145
/// higher-dimensional equivalent of row-major order.
146-
pub fn values<'a>(&'a self) -> VecIterator<'a, T> {
146+
pub fn values<'a>(&'a self) -> vec::Items<'a, T> {
147147
self.data.iter()
148148
}
149149
}

0 commit comments

Comments
 (0)