Skip to content

Create zet search Command #23

Create zet search Command

Create zet search Command #23

Triggered via pull request November 1, 2023 10:21
Status Success
Total duration 35s
Artifacts

scheduled.yml

on: pull_request
ubuntu / nightly
23s
ubuntu / nightly
ubuntu / beta / updated
23s
ubuntu / beta / updated
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