aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 13:51:51 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 13:51:51 +0200
commit8eb4631bd7c4345ec2a0c9b2ca2e05bdb1d79dd7 (patch)
treec2361c94898ca0e088fc6e63121b59c530506edb /src/parser.rs
parent3b083d023a8b6c7d4fe6b1140df90c907230b152 (diff)
downloadmarkdown-rs-8eb4631bd7c4345ec2a0c9b2ca2e05bdb1d79dd7.tar.gz
markdown-rs-8eb4631bd7c4345ec2a0c9b2ca2e05bdb1d79dd7.tar.bz2
markdown-rs-8eb4631bd7c4345ec2a0c9b2ca2e05bdb1d79dd7.zip
Update list of todos
Diffstat (limited to '')
-rw-r--r--src/parser.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parser.rs b/src/parser.rs
index f11f0d1..89a0de1 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -1,12 +1,10 @@
//! Turn a string of markdown into events.
+use std::collections::HashSet;
// To do: this should start with `containers`, when they’re done.
use crate::content::flow::flow;
use crate::tokenizer::{as_codes, Code, Event, Point};
-/// To do: could we do without `HashSet`, so we don’t need `std`?
-use std::collections::HashSet;
-
/// Information needed, in all content types, when parsing markdown.
///
/// Importantly, this contains a set of known definitions.