build(deps): bump tokio from 1.41.1 to 1.42.0 #128
GitHub Actions / Clippy: Rust Stable 1.83.0 (90b35a623 2024-11-26)
in
succeeded
Dec 10, 2024 in 30s
Clippy (Stable ~ Linux/x86_64)
Clippy was successful!
Details
Running cargo clippy
took roughly ~29561ms to complete
- Working Directory: repository directory
Annotations
Check warning on line 43 in /home/runner/work/api-rs/api-rs/src/main.rs
github-actions / Clippy: Rust Stable 1.83.0 (90b35a623 2024-11-26) in
/home/runner/work/api-rs/api-rs/src/main.rs#L43
the following explicit lifetimes could be elided: 'a
Raw output
warning: the following explicit lifetimes could be elided: 'a
--> src/util.rs:43:6
|
43 | impl<'a> IntoAppError for (StatusCode, &'a str) {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
43 - impl<'a> IntoAppError for (StatusCode, &'a str) {
43 + impl IntoAppError for (StatusCode, &str) {
|
Loading