Skip to content

update links to testbot in docs #399

update links to testbot in docs

update links to testbot in docs #399

GitHub Actions / clippy succeeded Jan 8, 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 (75c68cfd2 2024-01-07)
  • cargo 1.77.0-nightly (2ce45605d 2024-01-04)
  • clippy 0.1.77 (75c68cf 2024-01-07)

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