File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ lazy_static::lazy_static! {
15
15
// Maps from commonly known external commands (not builtin to cargo) to their
16
16
// description, for the help page. Reserved for external subcommands that are
17
17
// core within the rust ecosystem (esp ones that might become internal in the future).
18
- static ref KNOWN_EXTERNAL_COMMAND_DESCRIPTIONS : HashMap <& ' static str , & ' static str > = vec! [
18
+ static ref KNOWN_EXTERNAL_COMMAND_DESCRIPTIONS : HashMap <& ' static str , & ' static str > = HashMap :: from ( [
19
19
( "clippy" , "Checks a package to catch common mistakes and improve your Rust code." ) ,
20
20
( "fmt" , "Formats all bin and lib files of the current crate using rustfmt." ) ,
21
- ] . into_iter ( ) . collect ( ) ;
21
+ ] ) ;
22
22
}
23
23
24
24
pub fn main ( config : & mut Config ) -> CliResult {
You can’t perform that action at this time.
0 commit comments