Skip to content

Commit

Permalink
I really should have a pre-commit hook for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xerbalind committed Oct 29, 2024
1 parent a4bf483 commit cef51c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fuzz/fuzz_targets/parser.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
#![no_main]

use libfuzzer_sys::fuzz_target;
use zns::{
parser::{FromBytes},
reader::Reader,
structs::Message,
};
use zns::{parser::FromBytes, reader::Reader, structs::Message};

fuzz_target!(|data: &[u8]| {
let mut reader = Reader::new(data);
let _ = Message::from_bytes(&mut reader);
});

0 comments on commit cef51c5

Please sign in to comment.