From 6a7462e031ccd5333628f232ba55ec27c8fda404 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 21 Jun 2022 19:00:54 +0200 Subject: Add docs for `subtokenize` --- src/util/link.rs | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/util/link.rs (limited to 'src/util/link.rs') diff --git a/src/util/link.rs b/src/util/link.rs deleted file mode 100644 index 917ce4d..0000000 --- a/src/util/link.rs +++ /dev/null @@ -1,8 +0,0 @@ -//! To do. - -use crate::tokenizer::Event; - -pub fn link(events: &mut [Event], index: usize) { - events[index - 2].next = Some(index); - events[index].previous = Some(index - 2); -} -- cgit