about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuanqun Lu <guanqun.lu@gmail.com>2019-09-02 00:38:05 +0800
committerGuanqun Lu <guanqun.lu@gmail.com>2019-09-02 00:38:05 +0800
commitab12dfeb164fb06d19ce24acd8268eebfd6440fa (patch)
tree6c66bcfae232df88d8801bd7646c074c80e89900
parentd760df5aea483aae041c9a241e7acacf48f75035 (diff)
downloadrust-ab12dfeb164fb06d19ce24acd8268eebfd6440fa.tar.gz
rust-ab12dfeb164fb06d19ce24acd8268eebfd6440fa.zip
following the same style
-rw-r--r--src/tools/compiletest/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index bde49ff391c..467b7771c15 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -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,
@@ -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")