Update to the rustfmt in rust 1.31, which is now stable.
This commit is contained in:
@@ -11,10 +11,7 @@
|
||||
unstable_features
|
||||
)]
|
||||
#![warn(unused_import_braces)]
|
||||
#![cfg_attr(
|
||||
feature = "clippy",
|
||||
plugin(clippy(conf_file = "../../clippy.toml"))
|
||||
)]
|
||||
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
||||
#![cfg_attr(
|
||||
feature = "cargo-clippy",
|
||||
allow(new_without_default, new_without_default_derive)
|
||||
@@ -96,7 +93,8 @@ fn main() {
|
||||
d.help(true)
|
||||
.version(Some(String::from("0.0.0")))
|
||||
.deserialize()
|
||||
}).unwrap_or_else(|e| e.exit());
|
||||
})
|
||||
.unwrap_or_else(|e| e.exit());
|
||||
|
||||
let path = Path::new(&args.arg_file);
|
||||
match handle_module(path.to_path_buf(), &args.arg_target, &args.arg_output) {
|
||||
|
||||
Reference in New Issue
Block a user