Create the zet create
command
#11
Annotations
12 warnings
unneeded `return` statement:
src/main.rs#L24
warning: unneeded `return` statement
--> src/main.rs:24:5
|
24 | / return match cli.subcommand {
25 | | Subcommand::Create => create::run(),
26 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
24 ~ match cli.subcommand {
25 + Subcommand::Create => create::run(),
26 ~ }
|
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L48
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:48:24
|
48 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L42
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:42:20
|
42 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
unneeded `return` statement:
src/main.rs#L24
warning: unneeded `return` statement
--> src/main.rs:24:5
|
24 | / return match cli.subcommand {
25 | | Subcommand::Create => create::run(),
26 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
24 ~ match cli.subcommand {
25 + Subcommand::Create => create::run(),
26 ~ }
|
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L48
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:48:24
|
48 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L42
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:42:20
|
42 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
unneeded `return` statement:
src/main.rs#L24
warning: unneeded `return` statement
--> src/main.rs:24:5
|
24 | / return match cli.subcommand {
25 | | Subcommand::Create => create::run(),
26 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
24 ~ match cli.subcommand {
25 + Subcommand::Create => create::run(),
26 ~ }
|
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L48
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:48:24
|
48 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L42
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:42:20
|
42 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
unneeded `return` statement:
src/main.rs#L24
warning: unneeded `return` statement
--> src/main.rs:24:5
|
24 | / return match cli.subcommand {
25 | | Subcommand::Create => create::run(),
26 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
24 ~ match cli.subcommand {
25 + Subcommand::Create => create::run(),
26 ~ }
|
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L48
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:48:24
|
48 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `std::string::String`:
src/create.rs#L42
warning: useless conversion to the same type: `std::string::String`
--> src/create.rs:42:20
|
42 | Ok(val) => String::from(val),
| ^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `val`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|