aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_whitespace.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-11 15:54:13 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-11 15:54:13 +0200
commit3048b7aca0690691d25cb8409d543b2377e065e1 (patch)
tree565aa373293f69fc5c80bc4ef48e4af904ab2134 /src/construct/partial_whitespace.rs
parentcf9f0039911597cd5c9bc8e98f61b5df09b02130 (diff)
downloadmarkdown-rs-3048b7aca0690691d25cb8409d543b2377e065e1.tar.gz
markdown-rs-3048b7aca0690691d25cb8409d543b2377e065e1.tar.bz2
markdown-rs-3048b7aca0690691d25cb8409d543b2377e065e1.zip
Refactor to move `space_or_tab_eol` to own file
Diffstat (limited to 'src/construct/partial_whitespace.rs')
-rw-r--r--src/construct/partial_whitespace.rs6
1 files changed, 3 insertions, 3 deletions
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,