Skip to content

Panic hardening of ab-glyph (#64) #199

Panic hardening of ab-glyph (#64)

Panic hardening of ab-glyph (#64) #199

GitHub Actions / clippy succeeded Jul 2, 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.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 146 in src/buttons.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
   --> src/buttons.rs:144:9
    |
144 | /         let Some((left_side, right_side)) = sides else {
145 | |             return None;
146 | |         };
    | |__________^ help: replace it with: `let (left_side, right_side) = sides?;`
    |
    = 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