mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
auto merge of #5268 : mbrubeck/servo/append, r=jdm
The new `Vec::append` method is clearer and potentially faster.
This commit is contained in:
commit
646f821479
2 changed files with 4 additions and 4 deletions
|
@ -73,9 +73,9 @@ fn main() {
|
|||
match maybe_extension {
|
||||
Some(extension) => {
|
||||
if extension.to_ascii_lowercase().as_slice() == "list" && file.is_file() {
|
||||
let tests = parse_lists(&file, servo_args, render_mode, all_tests.len());
|
||||
let mut tests = parse_lists(&file, servo_args, render_mode, all_tests.len());
|
||||
println!("\t{} [{} tests]", file.display(), tests.len());
|
||||
all_tests.extend(tests.into_iter());
|
||||
all_tests.append(&mut tests);
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue