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