aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/link.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/util/link.rs8
1 files changed, 0 insertions, 8 deletions
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);
-}