Skip to content

Commit 36282e6

Browse files
authored
Rollup merge of #64071 - guanqun:style-fix, r=Centril
use just one name when parameters and fields are the same
2 parents 8d704e4 + ab12dfe commit 36282e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/compiletest/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
335335
runtool: matches.opt_str("runtool"),
336336
host_rustcflags: matches.opt_str("host-rustcflags"),
337337
target_rustcflags: matches.opt_str("target-rustcflags"),
338-
target: target,
338+
target,
339339
host: opt_str2(matches.opt_str("host")),
340340
cdb,
341341
gdb,
@@ -345,7 +345,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
345345
lldb_native_rust,
346346
llvm_version: matches.opt_str("llvm-version"),
347347
system_llvm: matches.opt_present("system-llvm"),
348-
android_cross_path: android_cross_path,
348+
android_cross_path,
349349
adb_path: opt_str2(matches.opt_str("adb-path")),
350350
adb_test_dir: opt_str2(matches.opt_str("adb-test-dir")),
351351
adb_device_status: opt_str2(matches.opt_str("target")).contains("android")

0 commit comments

Comments
 (0)