Skip to content

build(deps): Bump serde from 1.0.213 to 1.0.214 #296

build(deps): Bump serde from 1.0.213 to 1.0.214

build(deps): Bump serde from 1.0.213 to 1.0.214 #296

GitHub Actions / clippy succeeded Oct 28, 2024 in 1s

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.2 (88c1c3c11 2024-10-18)
  • cargo 1.83.0-beta.2 (15fbd2f60 2024-10-08)
  • clippy 0.1.83 (88c1c3c 2024-10-18)

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())
   |