From d5ae7bb13fdb5e855c678ced9b66d26674e08136 Mon Sep 17 00:00:00 2001 From: Hocdoc Date: Thu, 10 Nov 2022 17:00:33 +0100 Subject: Remove unneeded `extern crate`s Closes GH-28. Co-authored-by: Bernhard Berger --- fuzz/fuzz_targets/markdown.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'fuzz/fuzz_targets/markdown.rs') 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()); } -- cgit