From 7bb1008f508f61b51dd80086a91ada347be36c68 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 28 Jun 2022 17:11:04 +0200 Subject: Add some more crosslinks to docs --- src/util/normalize_identifier.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/util') diff --git a/src/util/normalize_identifier.rs b/src/util/normalize_identifier.rs index c287e1a..4753f7b 100644 --- a/src/util/normalize_identifier.rs +++ b/src/util/normalize_identifier.rs @@ -1,6 +1,6 @@ //! Utility to normalize identifiers. -/// Normalize an identifier, as found in references and +/// Normalize an identifier, as found in [references][label_end] and /// [definitions][definition], so it can be compared when matching. /// /// This collapsed whitespace found in markdown (`\t`, `\r`, `\n`, and ` `) @@ -30,8 +30,7 @@ /// * [`micromark-util-normalize-identifier` in `micromark`](https://github.com/micromark/micromark/tree/main/packages/micromark-util-normalize-identifier) /// /// [definition]: crate::construct::definition -/// -/// +/// [label_end]: crate::construct::label_end pub fn normalize_identifier(value: &str) -> String { let mut codes = vec![]; let mut at_start = true; -- cgit