fuzz: fix unused Result clippy finding.

```
warning: unused `std::result::Result` that must be used
  --> fuzzers/persist.rs:14:5
   |
14 |     T::read(&mut rdr);
   |     ^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_must_use)]` on by default
   = note: this `Result` may be an `Err` variant, which should be handled
```
This commit is contained in:
Daniel McCarney 2023-03-17 16:04:32 -04:00 committed by Dirkjan Ochtman
parent ca5725747a
commit 18f42bba16
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ where
T: Codec,
{
let mut rdr = Reader::init(data);
T::read(&mut rdr);
let _ = T::read(&mut rdr);
}
fuzz_target!(|data: &[u8]| {