aboutsummaryrefslogtreecommitdiffstats
path: root/src/subtokenize.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtokenize.rs')
-rw-r--r--src/subtokenize.rs2
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 {