Bump codecov/codecov-action from 3 to 4 #22
Annotations
1 error and 6 warnings
test
Codecov: Failed to properly create commit: The process '/__w/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
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
|