summaryrefslogtreecommitdiff
path: root/src/eval/library.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval/library.rs')
-rw-r--r--src/eval/library.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/library.rs b/src/eval/library.rs
index 85d5647b..5b0ff8e6 100644
--- a/src/eval/library.rs
+++ b/src/eval/library.rs
@@ -74,7 +74,7 @@ pub struct LangItems {
/// An item in a bullet list: `- ...`.
pub list_item: fn(body: Content) -> Content,
/// An item in an enumeration (numbered list): `+ ...` or `1. ...`.
- pub enum_item: fn(number: Option<NonZeroUsize>, body: Content) -> Content,
+ pub enum_item: fn(number: Option<usize>, body: Content) -> Content,
/// An item in a term list: `/ Term: Details`.
pub term_item: fn(term: Content, description: Content) -> Content,
/// A mathematical equation: `$x$`, `$ x^2 $`.