aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/raw_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2023-05-23 16:31:21 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2023-05-23 16:31:21 +0200
commit0be7464edbd0fae379eff1e18d64bd2099651040 (patch)
tree5511818733bfa40d9b22b09bfc10c5be2c788988 /src/construct/raw_flow.rs
parent35cbee9ede93fbf9296357765cab0e23698bfb22 (diff)
downloadmarkdown-rs-0be7464edbd0fae379eff1e18d64bd2099651040.tar.gz
markdown-rs-0be7464edbd0fae379eff1e18d64bd2099651040.tar.bz2
markdown-rs-0be7464edbd0fae379eff1e18d64bd2099651040.zip
Refactor some code
Diffstat (limited to 'src/construct/raw_flow.rs')
-rw-r--r--src/construct/raw_flow.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/construct/raw_flow.rs b/src/construct/raw_flow.rs
index 549c40d..15c6865 100644
--- a/src/construct/raw_flow.rs
+++ b/src/construct/raw_flow.rs
@@ -434,7 +434,7 @@ pub fn meta(tokenizer: &mut Tokenizer) -> State {
}
}
-/// At eol/eof in code, before a non-lazy closing fence or content.
+/// At eol/eof in raw, before a non-lazy closing fence or content.
///
/// ```markdown
/// > | ~~~js
@@ -552,7 +552,7 @@ pub fn sequence_close_after(tokenizer: &mut Tokenizer) -> State {
}
}
-/// Before closing fence, at eol.
+/// Before raw content, not a closing fence, at eol.
///
/// ```markdown
/// | ~~~js
@@ -567,7 +567,7 @@ pub fn content_before(tokenizer: &mut Tokenizer) -> State {
State::Next(StateName::RawFlowContentStart)
}
-/// Before code content, definitely not before a closing fence.
+/// Before raw content, not a closing fence.
///
/// ```markdown
/// | ~~~js
@@ -591,7 +591,7 @@ pub fn content_start(tokenizer: &mut Tokenizer) -> State {
}
}
-/// Before code content, after optional prefix.
+/// Before raw content, after optional prefix.
///
/// ```markdown
/// | ~~~js
@@ -615,7 +615,7 @@ pub fn before_content_chunk(tokenizer: &mut Tokenizer) -> State {
}
}
-/// In code content.
+/// In raw content.
///
/// ```markdown
/// | ~~~js