aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorLibravatar Hocdoc <bernhardberger@gmx.at>2022-11-10 17:00:33 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-10 17:00:33 +0100
commitd5ae7bb13fdb5e855c678ced9b66d26674e08136 (patch)
tree78ebf2605d5552f6dafab2c87489aeca1019c76e /readme.md
parent34ea2841df53a1aafafb01c887965469344552ba (diff)
downloadmarkdown-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--readme.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/readme.md b/readme.md
index d8a064a..bfe0dff 100644
--- a/readme.md
+++ b/readme.md
@@ -90,8 +90,6 @@ cargo add markdown@1.0.0-alpha.3
## Use
```rs
-extern crate markdown;
-
fn main() {
println!("{}", markdown::to_html("## Hello, *world*!"));
}
@@ -106,8 +104,6 @@ Yields:
Extensions (in this case GFM):
```rs
-extern crate markdown;
-
fn main() -> Result<(), String> {
println!(
"{}",
@@ -136,8 +132,6 @@ Yields:
Syntax tree ([mdast][]):
```rs
-extern crate markdown;
-
fn main() -> Result<(), String> {
println!(
"{:?}",