aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdast.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-25 18:59:31 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-25 18:59:31 +0200
commit8b41cfabde848b24fdae65d09ad961c2412e023b (patch)
tree3a02a35c6f0d9a45227b8a8a9309d3540bbb4424 /src/mdast.rs
parentcd782d3c3563ef711905429c6d9e1a88acf14fd7 (diff)
downloadmarkdown-rs-8b41cfabde848b24fdae65d09ad961c2412e023b.tar.gz
markdown-rs-8b41cfabde848b24fdae65d09ad961c2412e023b.tar.bz2
markdown-rs-8b41cfabde848b24fdae65d09ad961c2412e023b.zip
Fix type of `start` on list in mdast
Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
Diffstat (limited to 'src/mdast.rs')
-rw-r--r--src/mdast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdast.rs b/src/mdast.rs
index 559ff62..f0ca902 100644
--- a/src/mdast.rs
+++ b/src/mdast.rs
@@ -558,7 +558,7 @@ pub struct List {
pub ordered: bool,
/// Starting number of the list.
/// `None` when unordered.
- pub start: Option<u8>,
+ pub start: Option<u32>,
/// One or more of its children are separated with a blank line from its
/// siblings (when `true`), or not (when `false`).
pub spread: bool,