From a6b317ac7fbc95b8584056b3cebffbf9d1bba2c6 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 26 Jul 2022 16:37:13 +0200 Subject: Refactor to drastically improve perf around whitespace --- src/constant.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/constant.rs') diff --git a/src/constant.rs b/src/constant.rs index b18bf3f..b8b36ad 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -68,9 +68,9 @@ pub const CHARACTER_REFERENCE_NAMED_SIZE_MAX: usize = 31; pub const CODE_FENCED_SEQUENCE_SIZE_MIN: usize = 3; /// The number of preceding spaces needed for a [hard break -/// (trailing)][hard_break_trailing] to form. +/// (trailing)][whitespace] to form. /// -/// [hard_break_trailing]: crate::construct::hard_break_trailing +/// [whitespace]: crate::construct::partial_whitespace pub const HARD_BREAK_PREFIX_SIZE_MIN: usize = 2; /// The max number of markers allowed to form a [heading (atx)][heading_atx]. -- cgit