mirror of https://github.com/ctz/rustls
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:
parent
ca5725747a
commit
18f42bba16
|
@ -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]| {
|
||||
|
|
Loading…
Reference in New Issue