Skip to content

build(deps): bump serde from 1.0.216 to 1.0.217 #350

build(deps): bump serde from 1.0.216 to 1.0.217

build(deps): bump serde from 1.0.216 to 1.0.217 #350

GitHub Actions / Clippy: Rust Stable 1.83.0 (90b35a623 2024-11-26) in succeeded Dec 30, 2024 in 44s

Clippy (Stable ~ Linux/x86_64)

Clippy was successful!

Details

Running cargo clippy took roughly ~44324ms to complete

  • Working Directory: repository directory

Annotations

Check warning on line 43 in /home/runner/work/api-rs/api-rs/src/main.rs

See this annotation in the file changed.

@github-actions 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) {
   |