From 12e3b4c70b5ef23b2fdfc197296d483680e125f9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 8 Feb 2019 14:49:43 +0300 Subject: reformat the world --- crates/tools/src/main.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'crates/tools/src/main.rs') diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index c3e293911..963ffbe98 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs @@ -15,10 +15,7 @@ fn main() -> Result<()> { .subcommand(SubCommand::with_name("format-hook")) .subcommand(SubCommand::with_name("fuzz-tests")) .get_matches(); - match matches - .subcommand_name() - .expect("Subcommand must be specified") - { + match matches.subcommand_name().expect("Subcommand must be specified") { "install-code" => install_code_extension()?, "gen-tests" => gen_tests(Overwrite)?, "gen-syntax" => generate(Overwrite)?, @@ -45,10 +42,7 @@ fn install_code_extension() -> Result<()> { "./editors/code", )?; } else { - run( - r"code --install-extension ./ra-lsp-0.0.1.vsix --force", - "./editors/code", - )?; + run(r"code --install-extension ./ra-lsp-0.0.1.vsix --force", "./editors/code")?; } Ok(()) } -- cgit v1.2.3