about summary refs log tree commit diff
path: root/src/librustc_driver/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-03 07:59:04 +0000
committerbors <bors@rust-lang.org>2015-02-03 07:59:04 +0000
commit336c8d2e9c6b276b162bdb3edd43706372e6eddd (patch)
treece8b369728b285ce16ea77a7e43d8e9ce05b1be5 /src/librustc_driver/lib.rs
parent7858cb432d3f2efc0374424cb2b51518f697c172 (diff)
parent8f4844d58b0a84792e85a650c510270559b81022 (diff)
downloadrust-336c8d2e9c6b276b162bdb3edd43706372e6eddd.tar.gz
rust-336c8d2e9c6b276b162bdb3edd43706372e6eddd.zip
Auto merge of #21613 - alfie:suffix-small, r=alexcrichton
Diffstat (limited to 'src/librustc_driver/lib.rs')
-rw-r--r--src/librustc_driver/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs
index d71e85e6a55..4fe037d852f 100644
--- a/src/librustc_driver/lib.rs
+++ b/src/librustc_driver/lib.rs
@@ -126,7 +126,7 @@ fn run_compiler(args: &[String]) {
     let odir = matches.opt_str("out-dir").map(|o| Path::new(o));
     let ofile = matches.opt_str("o").map(|o| Path::new(o));
     let (input, input_file_path) = match matches.free.len() {
-        0u => {
+        0 => {
             if sopts.describe_lints {
                 let mut ls = lint::LintStore::new();
                 ls.register_builtin(None);
@@ -139,7 +139,7 @@ fn run_compiler(args: &[String]) {
             }
             early_error("no input filename given");
         }
-        1u => {
+        1 => {
             let ifile = &matches.free[0][];
             if ifile == "-" {
                 let contents = old_io::stdin().read_to_end().unwrap();