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:
bors-servo 2015-10-10 13:18:56 -06:00
commit 04266f237a
3 changed files with 6 additions and 5 deletions

2
tests/reftest.rs vendored
View file

@ -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
_ => (),