File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
use std:: fmt;
6
- use std:: vec ;
6
+ use std:: slice ;
7
7
8
8
9
9
#[ deriving( Eq ) ]
@@ -139,7 +139,7 @@ impl<'a> SkipWhitespaceIterable<'a> for &'a [ComponentValue] {
139
139
140
140
#[ deriving( Clone ) ]
141
141
pub struct SkipWhitespaceIterator < ' a > {
142
- iter_with_whitespace : vec :: Items < ' a , ComponentValue > ,
142
+ iter_with_whitespace : slice :: Items < ' a , ComponentValue > ,
143
143
}
144
144
145
145
impl < ' a > Iterator < & ' a ComponentValue > for SkipWhitespaceIterator < ' a > {
@@ -163,7 +163,7 @@ impl MoveSkipWhitespaceIterable for ~[ComponentValue] {
163
163
}
164
164
165
165
pub struct MoveSkipWhitespaceIterator {
166
- iter_with_whitespace : vec :: MoveItems < ComponentValue > ,
166
+ iter_with_whitespace : slice :: MoveItems < ComponentValue > ,
167
167
}
168
168
169
169
impl Iterator < ComponentValue > for MoveSkipWhitespaceIterator {
You can’t perform that action at this time.
0 commit comments