Skip to content

build(deps): Bump orhun/git-cliff-action from 4.3.1 to 4.4.0 #229

build(deps): Bump orhun/git-cliff-action from 4.3.1 to 4.4.0

build(deps): Bump orhun/git-cliff-action from 4.3.1 to 4.4.0 #229

GitHub Actions / clippy succeeded Nov 22, 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.6 (4ff8ff0ec 2024-11-16)
  • cargo 1.83.0-beta.6 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (4ff8ff0 2024-11-16)

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