Skip to content

Commit

Permalink
Remove useless vec![]
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Sep 25, 2019
1 parent c8601d2 commit 9a4c5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ fn remove_extension_not_in_manifest_but_is_already_installed() {
&|url, toolchain, prefix, download_cfg, temp_cfg| {
change_channel_date(url, "nightly", "2016-02-01");

let ref adds = vec![Component::new(
let adds = [Component::new(
"bonus".to_string(),
Some(TargetTriple::new("x86_64-apple-darwin")),
true,
Expand Down

0 comments on commit 9a4c5d8

Please sign in to comment.