aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/code_fenced.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/construct/code_fenced.rs')
-rw-r--r--src/construct/code_fenced.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs
index 724a0b3..d71c01e 100644
--- a/src/construct/code_fenced.rs
+++ b/src/construct/code_fenced.rs
@@ -84,7 +84,7 @@
//! * [`CodeFencedFenceMeta`][TokenType::CodeFencedFenceMeta]
//! * [`CodeFlowChunk`][TokenType::CodeFlowChunk]
//! * [`LineEnding`][TokenType::LineEnding]
-//! * [`Whitespace`][TokenType::Whitespace]
+//! * [`SpaceOrTab`][TokenType::SpaceOrTab]
//!
//! ## References
//!
@@ -194,7 +194,7 @@ fn before_sequence_open(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult
let mut prefix = 0;
if let Some(event) = tail {
- if event.token_type == TokenType::Whitespace {
+ if event.token_type == TokenType::SpaceOrTab {
let span = from_exit_event(&tokenizer.events, tokenizer.events.len() - 1);
prefix = span.end_index - span.start_index;
}