diff options
| author | Joshua Landau <joshua@landau.ws> | 2015-06-10 17:22:20 +0100 |
|---|---|---|
| committer | Joshua Landau <joshua@landau.ws> | 2015-06-10 21:14:03 +0100 |
| commit | ca7418b84658fc1c723672c462aa0a7878d88b64 (patch) | |
| tree | 6fba2849520c8c205c53ca12aaa8445eb8e03ab9 /src/libtest | |
| parent | d8a9570154dfbc4032cb3a6ba8b51c6256518dcd (diff) | |
| download | rust-ca7418b84658fc1c723672c462aa0a7878d88b64.tar.gz rust-ca7418b84658fc1c723672c462aa0a7878d88b64.zip | |
Removed many pointless calls to *iter() and iter_mut()
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 5ea843918be..9850e0a6c2f 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -1423,7 +1423,7 @@ mod tests { "test::parse_ignored_flag".to_string(), "test::sort_tests".to_string()); - for (a, b) in expected.iter().zip(filtered.iter()) { + for (a, b) in expected.iter().zip(filtered) { assert!(*a == b.desc.name.to_string()); } } |
