Skip to content

Commit f7576d1

Browse files
committed
Format with new rustfmt that handles let-else
1 parent 349dc3f commit f7576d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fuzz/fuzz_targets/parse_token_stream.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ fn main() {
6060

6161
fn do_fuzz(bytes: &[u8]) {
6262
let ..=199 = bytes.len() else { return };
63-
let Ok(string) = str::from_utf8(bytes) else { return };
63+
let Ok(string) = str::from_utf8(bytes) else {
64+
return;
65+
};
6466
let _ = string.parse::<proc_macro2::TokenStream>();
6567
}

0 commit comments

Comments
 (0)