Skip to content

build(deps): Bump clap from 4.5.21 to 4.5.23 #155

build(deps): Bump clap from 4.5.21 to 4.5.23

build(deps): Bump clap from 4.5.21 to 4.5.23 #155

GitHub Actions / clippy succeeded Dec 5, 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.3 (ea5e5ca05 2024-12-02)
  • cargo 1.84.0-beta.3 (66221abde 2024-11-19)
  • clippy 0.1.84 (ea5e5ca055 2024-12-02)

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