Skip to content

update deps

update deps #31

GitHub Actions / clippy succeeded Jan 27, 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.77.0-nightly (5bd5d214e 2024-01-25)
  • cargo 1.77.0-nightly (7bb7b5395 2024-01-20)
  • clippy 0.1.77 (5bd5d21 2024-01-25)

Annotations

Check warning on line 162 in azalea/src/pathfinder/world.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `let...else` may be rewritten with the `?` operator

warning: this `let...else` may be rewritten with the `?` operator
   --> azalea/src/pathfinder/world.rs:160:9
    |
160 | /         let Some(chunk) = world.chunks.get(&chunk_pos) else {
161 | |             return None;
162 | |         };
    | |__________^ help: replace it with: `let chunk = world.chunks.get(&chunk_pos)?;`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
    = note: `#[warn(clippy::question_mark)]` on by default