aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzz_targets/markdown.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fuzz/fuzz_targets/markdown.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/fuzz/fuzz_targets/markdown.rs b/fuzz/fuzz_targets/markdown.rs
index c058637..c86a7db 100644
--- a/fuzz/fuzz_targets/markdown.rs
+++ b/fuzz/fuzz_targets/markdown.rs
@@ -1,14 +1,10 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
-extern crate markdown;
fuzz_target!(|data: &[u8]| {
if let Ok(s) = std::str::from_utf8(data) {
let _ = markdown::to_html(s);
- let _ = markdown::to_html_with_options(
- s,
- &markdown::Options::gfm()
- );
+ let _ = markdown::to_html_with_options(s, &markdown::Options::gfm());
let _ = markdown::to_mdast(s, &markdown::ParseOptions::default());
let _ = markdown::to_mdast(s, &markdown::ParseOptions::gfm());
}