aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_data.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/construct/partial_data.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/construct/partial_data.rs b/src/construct/partial_data.rs
index 186665d..b4dfda0 100644
--- a/src/construct/partial_data.rs
+++ b/src/construct/partial_data.rs
@@ -13,7 +13,8 @@ use crate::util::edit_map::EditMap;
/// At the beginning of data.
///
/// ```markdown
-/// |&qwe
+/// > | abc
+/// ^
/// ```
pub fn start(tokenizer: &mut Tokenizer, code: Code, stop: Vec<Code>) -> StateFnResult {
if stop.contains(&code) {
@@ -28,7 +29,8 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code, stop: Vec<Code>) -> StateFnR
/// Before something.
///
/// ```markdown
-/// |qwe| |&
+/// > | abc
+/// ^
/// ```
fn at_break(tokenizer: &mut Tokenizer, code: Code, stop: Vec<Code>) -> StateFnResult {
match code {
@@ -53,7 +55,8 @@ fn at_break(tokenizer: &mut Tokenizer, code: Code, stop: Vec<Code>) -> StateFnRe
/// In data.
///
/// ```markdown
-/// q|w|e
+/// > | abc
+/// ^^^
/// ```
fn data(tokenizer: &mut Tokenizer, code: Code, stop: Vec<Code>) -> StateFnResult {
let done = match code {