diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-19 11:55:50 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-19 12:35:16 +0200 |
commit | f126b47f89c8ef3839c3d64657e9f220d1cbd268 (patch) | |
tree | f8560d79bc2efaf3adb5e1a91f76ca99889c09e3 /src/subtokenize.rs | |
parent | ed42e65627f3283f0e002490fbcb652649fd3afc (diff) | |
download | markdown-rs-f126b47f89c8ef3839c3d64657e9f220d1cbd268.tar.gz markdown-rs-f126b47f89c8ef3839c3d64657e9f220d1cbd268.tar.bz2 markdown-rs-f126b47f89c8ef3839c3d64657e9f220d1cbd268.zip |
Remove an unneeded `HashMap`
Diffstat (limited to 'src/subtokenize.rs')
-rw-r--r-- | src/subtokenize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtokenize.rs b/src/subtokenize.rs index ad9a745..ce4f788 100644 --- a/src/subtokenize.rs +++ b/src/subtokenize.rs @@ -113,7 +113,7 @@ pub fn subtokenize(mut events: Vec<Event>, parse_state: &ParseState) -> (Vec<Eve ends.push(span.end_index); if enter.previous != None { - tokenizer.define_skip(enter.point.clone(), enter.index); + tokenizer.define_skip(&enter.point, enter.index); } let func: Box<StateFn> = match result.0 { |