Skip to content

Commit 8a39b7f

Browse files
committed
Use iter() not into_iter() on arrays
rust-lang/rust#66145
1 parent 8e6a456 commit 8a39b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apath.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ mod tests {
176176
"../a",
177177
"/hello\0",
178178
];
179-
for v in invalid_cases.into_iter() {
179+
for v in invalid_cases.iter() {
180180
if Apath::is_valid(v) {
181181
panic!("{:?} incorrectly marked valid", v);
182182
}

0 commit comments

Comments
 (0)