aboutsummaryrefslogtreecommitdiffstats
path: root/src/subtokenize.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtokenize.rs')
-rw-r--r--src/subtokenize.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/subtokenize.rs b/src/subtokenize.rs
index 690eb58..1702387 100644
--- a/src/subtokenize.rs
+++ b/src/subtokenize.rs
@@ -24,12 +24,14 @@
//!
//! <!-- To do: `ChunkFlow` when it exists. -->
+/// To do: could we do without `HashMap`, so we don’t need `std`?
+use std::collections::HashMap;
+
use crate::content::{string::start as string, text::start as text};
use crate::tokenizer::{
Code, Event, EventType, State, StateFn, StateFnResult, TokenType, Tokenizer,
};
use crate::util::span;
-use std::collections::HashMap;
/// Create a link between two [`Event`][]s.
///