aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-21 19:00:54 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-21 19:00:54 +0200
commit6a7462e031ccd5333628f232ba55ec27c8fda404 (patch)
treee22fe051737e5e2020dce835582be7e56daed1db /src/util
parenta23cff0886f284f33622bce2bddf42b30d006438 (diff)
downloadmarkdown-rs-6a7462e031ccd5333628f232ba55ec27c8fda404.tar.gz
markdown-rs-6a7462e031ccd5333628f232ba55ec27c8fda404.tar.bz2
markdown-rs-6a7462e031ccd5333628f232ba55ec27c8fda404.zip
Add docs for `subtokenize`
Diffstat (limited to '')
-rw-r--r--src/util/link.rs8
-rw-r--r--src/util/mod.rs1
2 files changed, 0 insertions, 9 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);
-}
diff --git a/src/util/mod.rs b/src/util/mod.rs
index 5439c62..c3db267 100644
--- a/src/util/mod.rs
+++ b/src/util/mod.rs
@@ -2,6 +2,5 @@
pub mod decode_character_reference;
pub mod encode;
-pub mod link;
pub mod sanitize_uri;
pub mod span;