third_party_rust_unicode-ident/generate
David Tolnay 9c116767e1
Resolve manual_let_else clippy lints
error: this could be rewritten as `let...else`
      --> generate/src/main.rs:50:13
       |
    50 | /             let new = match u8::try_from(chunkmap.len()) {
    51 | |                 Ok(byte) => byte,
    52 | |                 Err(_) => panic!("exceeded 256 unique chunks"),
    53 | |             };
       | |______________^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else
       = note: `-D clippy::manual-let-else` implied by `-D clippy::pedantic`
    help: consider writing
       |
    50 ~             let Ok(byte) = u8::try_from(chunkmap.len()) else {
    51 +         $crate::rt::begin_panic($msg)
    52 +     };
       |
2022-11-22 22:24:18 -08:00
..
src Resolve manual_let_else clippy lints 2022-11-22 22:24:18 -08:00
Cargo.toml Minimalist error handling by exiting on error 2022-11-03 23:41:41 -07:00