Update to the rustfmt in rust 1.31, which is now stable.

This commit is contained in:
Dan Gohman
2018-12-06 16:15:48 -05:00
parent 323a9925e5
commit 5adab629f2
43 changed files with 181 additions and 177 deletions

View File

@@ -7,10 +7,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)
@@ -83,7 +80,8 @@ fn main() {
.value_name("FILE")
.help("Input file for serialization"),
),
).subcommand(
)
.subcommand(
SubCommand::with_name("deserialize")
.about("Deserializes Cranelift IR into JSON.")
.arg(
@@ -92,7 +90,8 @@ fn main() {
.value_name("FILE")
.help("Input file for deserialization"),
),
).get_matches();
)
.get_matches();
let res_serde = match matches.subcommand() {
("serialize", Some(m)) => {