1
0
mirror of https://github.com/bspeice/dtparse synced 2024-12-22 12:28:08 -05:00

Fix typo in the fuzzer script

This commit is contained in:
Mike Meehan 2018-07-18 22:38:02 -04:00
parent ac95e9e8c3
commit 4acd072974

View File

@ -4,7 +4,7 @@ extern crate dtparse;
use dtparse::parse; use dtparse::parse;
#[export_name="rust_fuzzer_test_input"] #[export_name="rust_fuzzer_test_input"]
pub extern fn go(data: &[u8]) { pub extern fn go(data: &[u8]) {
if let Ok(s) = sd::str::from_utf8(data) { if let Ok(s) = std::str::from_utf8(data) {
parse(s); parse(s);
} }
} }