Skip to content

build(deps): Bump serde from 1.0.213 to 1.0.215 #149

build(deps): Bump serde from 1.0.213 to 1.0.215

build(deps): Bump serde from 1.0.213 to 1.0.215 #149

GitHub Actions / clippy succeeded Nov 11, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.83.0-beta.5 (eb6e3fa1a 2024-11-08)
  • cargo 1.83.0-beta.5 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (eb6e3fa 2024-11-08)

Annotations

Check warning on line 61 in src/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
  --> src/utils.rs:61:17
   |
61 |                 return Some(entry.into_path().parent().unwrap().into());
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = 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`
   |
61 -                 return Some(entry.into_path().parent().unwrap().into());
61 +                 Some(entry.into_path().parent().unwrap().into())
   |