aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
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/util
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/util/edit_map.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/edit_map.rs b/src/util/edit_map.rs
index 665367a..417f42b 100644
--- a/src/util/edit_map.rs
+++ b/src/util/edit_map.rs
@@ -8,9 +8,7 @@
//! And, in other cases, it’s needed to parse subcontent: pass some events
//! through another tokenizer and inject the result.
-/// To do: could we do without `HashMap`, so we don’t need `std`?
use std::collections::HashMap;
-
use crate::tokenizer::Event;
/// Shift `previous` and `next` links according to `jumps`.
@@ -136,6 +134,7 @@ impl EditMap {
}
}
+/// To do.
fn add_impl(
edit_map: &mut EditMap,
index: usize,