diff --git a/fuzz/fuzz_targets/roundtrip_h264.rs b/fuzz/fuzz_targets/roundtrip_h264.rs index 4d9c93c..b3385b6 100644 --- a/fuzz/fuzz_targets/roundtrip_h264.rs +++ b/fuzz/fuzz_targets/roundtrip_h264.rs @@ -68,7 +68,7 @@ fuzz_target!(|data: &[u8]| { Err(_) => return, } }; - assert_eq!(&data[2..], &frame.data()[..]); + assert_eq!(&data[2..], frame.data()); assert!(matches!(d.pull(&conn_ctx, &stream_ctx), Ok(None))); assert!(matches!(p.pull(), Ok(None))); });