aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/character_escape.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/construct/character_escape.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/construct/character_escape.rs b/src/construct/character_escape.rs
index 55d321a..811adcf 100644
--- a/src/construct/character_escape.rs
+++ b/src/construct/character_escape.rs
@@ -39,9 +39,8 @@ use crate::tokenizer::{Code, State, StateFnResult, Tokenizer};
/// Start of a character escape.
///
/// ```markdown
-/// a|\*b
-/// a|\b
-/// a|\ b
+/// > | a\*b
+/// ^
/// ```
pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
match code {
@@ -59,9 +58,8 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
/// Inside a character escape, after `\`.
///
/// ```markdown
-/// a\|*b
-/// a\|b
-/// a\| b
+/// > | a\*b
+/// ^
/// ```
fn inside(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
match code {