Skip to content

Commit f721e25

Browse files
committed
Fix clippy
1 parent c2d30df commit f721e25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: fuzz/fuzz_targets/bench/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub fn roundtrip_arbitrary_typed_ron_or_panic(data: &[u8]) -> Option<TypedSerdeD
6363
// Everything else is actually a bug we want to find
6464
_ => panic!("{:#?} -> {} -! {:#?}", typed_value, ron, err),
6565
}
66-
};
66+
}
6767

6868
if let Err((err, path)) =
6969
(|| -> Result<(), (ron::error::SpannedError, Option<serde_path_to_error::Path>)> {
@@ -94,7 +94,7 @@ pub fn roundtrip_arbitrary_typed_ron_or_panic(data: &[u8]) -> Option<TypedSerdeD
9494
// Everything else is actually a bug we want to find
9595
_ => panic!("{:#?} -> {} -! {:#?} @ {:#?}", typed_value, ron, err, path),
9696
}
97-
};
97+
}
9898

9999
Some(typed_value)
100100
} else {
@@ -5214,7 +5214,7 @@ impl<'a> SerdeDataType<'a> {
52145214
SerdeEnumRepresentation::AdjacentlyTagged { tag, content } => {
52155215
name_length += tag.len() + content.len();
52165216
}
5217-
};
5217+
}
52185218

52195219
let value = match ty {
52205220
SerdeDataVariantType::Unit => SerdeDataVariantValue::Unit,

0 commit comments

Comments
 (0)