aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/line_ending.rs
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 /src/util/line_ending.rs
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 'src/util/line_ending.rs')
-rw-r--r--src/util/line_ending.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/line_ending.rs b/src/util/line_ending.rs
index a018fe8..be4d8a3 100644
--- a/src/util/line_ending.rs
+++ b/src/util/line_ending.rs
@@ -1,5 +1,3 @@
-extern crate alloc;
-
use alloc::{str::FromStr, string::String};
/// Type of line endings in markdown.
@@ -82,7 +80,6 @@ impl FromStr for LineEnding {
#[cfg(test)]
mod tests {
- extern crate std;
use super::*;
#[test]