diff options
author | Hocdoc <bernhardberger@gmx.at> | 2022-11-10 17:00:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 17:00:33 +0100 |
commit | d5ae7bb13fdb5e855c678ced9b66d26674e08136 (patch) | |
tree | 78ebf2605d5552f6dafab2c87489aeca1019c76e /fuzz/fuzz_targets | |
parent | 34ea2841df53a1aafafb01c887965469344552ba (diff) | |
download | markdown-rs-d5ae7bb13fdb5e855c678ced9b66d26674e08136.tar.gz markdown-rs-d5ae7bb13fdb5e855c678ced9b66d26674e08136.tar.bz2 markdown-rs-d5ae7bb13fdb5e855c678ced9b66d26674e08136.zip |
Remove unneeded `extern crate`s
Closes GH-28.
Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | fuzz/fuzz_targets/markdown.rs | 6 |
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()); } |