Skip to content

remove unwraps in events.rs #1881

remove unwraps in events.rs

remove unwraps in events.rs #1881

GitHub Actions / clippy succeeded Jul 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.81.0-nightly (506985649 2024-07-20)
  • cargo 1.81.0-nightly (a2b58c3da 2024-07-16)
  • clippy 0.1.81 (5069856 2024-07-20)

Annotations

Check warning on line 9 in azalea/build.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
 --> azalea/build.rs:9:18
  |
9 |         Ok(_) => return, // nightly
  |                  ^^^^^^
  |
  = 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: replace `return` with a unit value
  |
9 |         Ok(_) => (), // nightly
  |                  ~~