Skip to content

Create the zet create command #11

Create the zet create command

Create the zet create command #11

Triggered via pull request October 29, 2023 20:58
Status Success
Total duration 56s
Artifacts

coverage.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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