about summary refs log tree commit diff
path: root/src/bin/rustfmt.rs
diff options
context:
space:
mode:
authorSeiichi Uchida <seuchida@gmail.com>2018-01-22 13:05:18 +0900
committerSeiichi Uchida <seuchida@gmail.com>2018-01-22 13:05:18 +0900
commit154bf8e1afafed035b769955ed81490dca62a50a (patch)
tree8b9830f2f66c58ff9ba13a8cde18e2c5a4d4e1bc /src/bin/rustfmt.rs
parentfa6892eb6389dbcdf8037670bd480767a61b5a8d (diff)
Cargo fmt
Diffstat (limited to 'src/bin/rustfmt.rs')
-rw-r--r--src/bin/rustfmt.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs
index ba586e1fd91..66ee49297a3 100644
--- a/src/bin/rustfmt.rs
+++ b/src/bin/rustfmt.rs
@@ -453,7 +453,7 @@ fn determine_operation(matches: &Matches) -> FmtResult<Operation> {
 
         return Ok(Operation::Stdin {
             input: buffer,
-            config_path: config_path,
+            config_path,
         });
     }
 
@@ -469,8 +469,8 @@ fn determine_operation(matches: &Matches) -> FmtResult<Operation> {
         .collect();
 
     Ok(Operation::Format {
-        files: files,
-        config_path: config_path,
-        minimal_config_path: minimal_config_path,
+        files,
+        config_path,
+        minimal_config_path,
     })
 }