diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 12:34:23 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 12:34:23 +0200 |
commit | 0fcfeaf05a95ea17763a72d91b6aa1c01843d067 (patch) | |
tree | 616d82b6e1d5a1164c8d6db110bc73c6b3583c13 /src/subtokenize.rs | |
parent | 6a7462e031ccd5333628f232ba55ec27c8fda404 (diff) | |
download | markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.tar.gz markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.tar.bz2 markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.zip |
Add docs for token types
Diffstat (limited to '')
-rw-r--r-- | src/subtokenize.rs | 4 |
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. /// |