Skip to content

build(deps): Bump serde from 1.0.215 to 1.0.216 #156

build(deps): Bump serde from 1.0.215 to 1.0.216

build(deps): Bump serde from 1.0.215 to 1.0.216 #156

GitHub Actions / clippy succeeded Dec 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.84.0-beta.4 (202008a1b 2024-12-07)
  • cargo 1.84.0-beta.4 (66221abde 2024-11-19)
  • clippy 0.1.84 (202008a1b8 2024-12-07)

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