summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-rw-r--r--src/model/library.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/library.rs b/src/model/library.rs
index eee69675..c890fef1 100644
--- a/src/model/library.rs
+++ b/src/model/library.rs
@@ -60,7 +60,7 @@ pub struct LangItems {
/// An item in an unordered list: `- ...`.
pub list_item: fn(body: Content) -> Content,
/// An item in an enumeration (ordered list): `+ ...` or `1. ...`.
- pub enum_item: fn(number: Option<usize>, body: Content) -> Content,
+ pub enum_item: fn(number: Option<NonZeroUsize>, body: Content) -> Content,
/// An item in a description list: `/ Term: Details`.
pub desc_item: fn(term: Content, body: Content) -> Content,
/// A mathematical formula: `$x$`, `$ x^2 $`.