mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Auto merge of #7949 - craftytrickster:map-clone-to-cloned, r=nox
Making map+clone more succinct with cloned https://github.com/servo/servo/issues/7906 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7949) <!-- Reviewable:end -->
This commit is contained in:
commit
04266f237a
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