File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ pub fn initialize(_argc: *const isize, _argv: *const *const *const u8) -> isize
202
202
/// `"arbitrary-derive"` cargo feature.
203
203
#[ macro_export]
204
204
macro_rules! fuzz_target {
205
- ( |$bytes: ident| $body: block ) => {
205
+ ( |$bytes: ident| $body: expr ) => {
206
206
const _: ( ) = {
207
207
/// Auto-generated function
208
208
#[ no_mangle]
@@ -244,15 +244,15 @@ macro_rules! fuzz_target {
244
244
} ;
245
245
} ;
246
246
247
- ( |$data: ident: & [ u8 ] | $body: block ) => {
247
+ ( |$data: ident: & [ u8 ] | $body: expr ) => {
248
248
$crate:: fuzz_target!( |$data| $body) ;
249
249
} ;
250
250
251
- ( |$data: ident: $dty: ty| $body: block ) => {
252
- $crate:: fuzz_target!( |$data: $dty| -> ( ) $body) ;
251
+ ( |$data: ident: $dty: ty| $body: expr ) => {
252
+ $crate:: fuzz_target!( |$data: $dty| -> ( ) { $body } ) ;
253
253
} ;
254
254
255
- ( |$data: ident: $dty: ty| -> $rty: ty $body: block) => {
255
+ ( |$data: ident: $dty: ty| -> $rty: ty $body: block) => {
256
256
const _: ( ) = {
257
257
/// Auto-generated function
258
258
#[ no_mangle]
You can’t perform that action at this time.
0 commit comments