Skip to content

Commit

Permalink
Rollup merge of rust-lang#64071 - guanqun:style-fix, r=Centril
Browse files Browse the repository at this point in the history
use just one name when parameters and fields are the same
  • Loading branch information
Centril committed Sep 3, 2019
2 parents c1832a6 + ab12dfe commit ed13e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/compiletest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
runtool: matches.opt_str("runtool"),
host_rustcflags: matches.opt_str("host-rustcflags"),
target_rustcflags: matches.opt_str("target-rustcflags"),
target: target,
target,
host: opt_str2(matches.opt_str("host")),
cdb,
gdb,
Expand All @@ -345,7 +345,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
lldb_native_rust,
llvm_version: matches.opt_str("llvm-version"),
system_llvm: matches.opt_present("system-llvm"),
android_cross_path: android_cross_path,
android_cross_path,
adb_path: opt_str2(matches.opt_str("adb-path")),
adb_test_dir: opt_str2(matches.opt_str("adb-test-dir")),
adb_device_status: opt_str2(matches.opt_str("target")).contains("android")
Expand Down

0 comments on commit ed13e27

Please sign in to comment.