diff options
Diffstat (limited to '')
-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 { |