]> git.lizzy.rs Git - rust.git/blob - tests/target/closure-block-inside-macro.rs
Tidy up and pass tests
[rust.git] / tests / target / closure-block-inside-macro.rs
1 // rustfmt-indent_style: Block
2
3 // #1547
4 fuzz_target!(|data: &[u8]| if let Some(first) = data.first() {
5     let index = *first as usize;
6     if index >= ENCODINGS.len() {
7         return;
8     }
9     let encoding = ENCODINGS[index];
10     dispatch_test(encoding, &data[1..]);
11 });