mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Making map+clone more succinct with cloned
This commit is contained in:
parent
48887acff1
commit
de2060e6a1
3 changed files with 6 additions and 5 deletions
2
tests/reftest.rs
vendored
2
tests/reftest.rs
vendored
|
@ -100,7 +100,7 @@ fn main() {
|
|||
|
||||
match run(test_opts,
|
||||
all_tests,
|
||||
servo_args.iter().map(|x| x.clone()).collect()) {
|
||||
servo_args.iter().cloned().collect()) {
|
||||
Ok(false) => process::exit(1), // tests failed
|
||||
Err(_) => process::exit(2), // I/O-related failure
|
||||
_ => (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue