From 3048b7aca0690691d25cb8409d543b2377e065e1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 11 Aug 2022 15:54:13 +0200 Subject: Refactor to move `space_or_tab_eol` to own file --- src/construct/partial_whitespace.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/construct/partial_whitespace.rs') diff --git a/src/construct/partial_whitespace.rs b/src/construct/partial_whitespace.rs index 688e7fd..7152881 100644 --- a/src/construct/partial_whitespace.rs +++ b/src/construct/partial_whitespace.rs @@ -30,8 +30,8 @@ //! removed, making hard break (trailing) hard to use. //! ## Tokens //! -//! * [`HardBreakTrailing`][Token::HardBreakTrailing] -//! * [`SpaceOrTab`][Token::SpaceOrTab] +//! * [`HardBreakTrailing`][Name::HardBreakTrailing] +//! * [`SpaceOrTab`][Name::SpaceOrTab] //! //! ## References //! @@ -71,7 +71,7 @@ pub fn resolve_whitespace(tokenizer: &mut Tokenizer, hard_break: bool, trim_whol } } -/// Trim a [`Data`][Token::Data] token. +/// Trim a [`Data`][Name::Data] token. fn trim_data( tokenizer: &mut Tokenizer, exit_index: usize, -- cgit