Skip to content

Create zet search Command (#8) #21

Create zet search Command (#8)

Create zet search Command (#8) #21

Triggered via push November 1, 2023 20:03
Status Success
Total duration 56s
Artifacts

coverage.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
unneeded `return` statement: src/main.rs#L40
warning: unneeded `return` statement --> src/main.rs:40:5 | 40 | / return match cli.subcommand { 41 | | Subcommand::Create => create::run(), 42 | | Subcommand::Search(args) => search::run(args), 43 | | }; | |_____^ | = 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` | 40 ~ match cli.subcommand { 41 + Subcommand::Create => create::run(), 42 + Subcommand::Search(args) => search::run(args), 43 ~ } |
useless conversion to the same type: `std::string::String`: src/lib.rs#L20
warning: useless conversion to the same type: `std::string::String` --> src/lib.rs:20:24 | 20 | 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/lib.rs#L14
warning: useless conversion to the same type: `std::string::String` --> src/lib.rs:14:20 | 14 | 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#L40
warning: unneeded `return` statement --> src/main.rs:40:5 | 40 | / return match cli.subcommand { 41 | | Subcommand::Create => create::run(), 42 | | Subcommand::Search(args) => search::run(args), 43 | | }; | |_____^ | = 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` | 40 ~ match cli.subcommand { 41 + Subcommand::Create => create::run(), 42 + Subcommand::Search(args) => search::run(args), 43 ~ } |
useless conversion to the same type: `std::string::String`: src/lib.rs#L20
warning: useless conversion to the same type: `std::string::String` --> src/lib.rs:20:24 | 20 | 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/lib.rs#L14
warning: useless conversion to the same type: `std::string::String` --> src/lib.rs:14:20 | 14 | 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