diff options
Diffstat (limited to 'crates/ra_tools/src/main.rs')
-rw-r--r-- | crates/ra_tools/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_tools/src/main.rs b/crates/ra_tools/src/main.rs index 54d96e446..03cb9d5a7 100644 --- a/crates/ra_tools/src/main.rs +++ b/crates/ra_tools/src/main.rs | |||
@@ -1,8 +1,8 @@ | |||
1 | use clap::{App, Arg, SubCommand}; | 1 | use clap::{App, Arg, SubCommand}; |
2 | use core::str; | 2 | use core::str; |
3 | use ra_tools::{ | 3 | use ra_tools::{ |
4 | gen_tests, generate, install_format_hook, run, run_clippy, run_fuzzer, run_rustfmt, Cmd, | 4 | gen_tests, generate_boilerplate, install_format_hook, run, run_clippy, run_fuzzer, run_rustfmt, |
5 | Overwrite, Result, | 5 | Cmd, Overwrite, Result, |
6 | }; | 6 | }; |
7 | use std::{env, path::PathBuf}; | 7 | use std::{env, path::PathBuf}; |
8 | 8 | ||
@@ -49,7 +49,7 @@ fn main() -> Result<()> { | |||
49 | install(opts)? | 49 | install(opts)? |
50 | } | 50 | } |
51 | ("gen-tests", _) => gen_tests(Overwrite)?, | 51 | ("gen-tests", _) => gen_tests(Overwrite)?, |
52 | ("gen-syntax", _) => generate(Overwrite)?, | 52 | ("gen-syntax", _) => generate_boilerplate(Overwrite)?, |
53 | ("format", _) => run_rustfmt(Overwrite)?, | 53 | ("format", _) => run_rustfmt(Overwrite)?, |
54 | ("format-hook", _) => install_format_hook()?, | 54 | ("format-hook", _) => install_format_hook()?, |
55 | ("lint", _) => run_clippy()?, | 55 | ("lint", _) => run_clippy()?, |