aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 11:24:06 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 11:24:06 +0200
commit6e20c3e79d4270fafb13a63af51eaffaa45c11e1 (patch)
tree3fb3952e00c5e111f30a73d7c25b0879e5a1d052 /src/lib.rs
parent3a4de4b3a89e7171f8e3e0b6bf02fcd2d5c5f748 (diff)
downloadmarkdown-rs-6e20c3e79d4270fafb13a63af51eaffaa45c11e1.tar.gz
markdown-rs-6e20c3e79d4270fafb13a63af51eaffaa45c11e1.tar.bz2
markdown-rs-6e20c3e79d4270fafb13a63af51eaffaa45c11e1.zip
Refactor to rename list construct to list item
Diffstat (limited to '')
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 24a794b..f9f5326 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -218,13 +218,13 @@ pub struct Constructs {
/// ^^^^
/// ```
pub label_end: bool,
- /// List.
+ /// List items.
///
/// ```markdown
/// > | * a
/// ^^^
/// ```
- pub list: bool,
+ pub list_item: bool,
/// Thematic break.
///
/// ```markdown
@@ -256,7 +256,7 @@ impl Default for Constructs {
label_start_image: true,
label_start_link: true,
label_end: true,
- list: true,
+ list_item: true,
thematic_break: true,
}
}