aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/list_item.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-12 10:44:33 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-12 10:44:33 +0200
commite0485409fca79af0b47af15ebdba7a3df5c1d3d2 (patch)
tree1bc44cf3c11df4e99f555e4efe64facfe786c4c0 /src/construct/list_item.rs
parent4d6bd4779c082fef900b760e014959a30b16051b (diff)
downloadmarkdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.tar.gz
markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.tar.bz2
markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.zip
Refactor to improve some module docs
Diffstat (limited to '')
-rw-r--r--src/construct/list_item.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/construct/list_item.rs b/src/construct/list_item.rs
index a4f166d..87cf0b1 100644
--- a/src/construct/list_item.rs
+++ b/src/construct/list_item.rs
@@ -7,7 +7,7 @@
//!
//! ```bnf
//! ; Restriction: if there is no space after the marker, the start must be followed by an `eol`.
-//! ; Restriction: if the first line after the marker is not blank and starts with `5( space_or_tab )`,
+//! ; Restriction: if the first line after the marker is not blank and starts with `5(space_or_tab)`,
//! ; only the first `space_or_tab` is part of the start.
//! list_item_start ::= '*' | '+' | '-' | 1*9(ascii_decimal) ('.' | ')') [1*4 space_or_tab]
//!
@@ -18,7 +18,7 @@
//!
//! Further lines that are not prefixed with `list_item_cont` cause the list
//! item to be exited, except when those lines are lazy continuation or blank.
-//! Like so many things in markdown, list items too, are complex.
+//! Like so many things in markdown, list items too are complex.
//! See [*ยง Phase 1: block structure* in `CommonMark`][commonmark_block] for
//! more on parsing details.
//!