From e74fdb10725d30917ce1b6b39c968730133ba7ee Mon Sep 17 00:00:00 2001 From: Ruin0x11 Date: Fri, 25 Feb 2022 14:30:38 -0800 Subject: [PATCH] Make `chapter_titles` optional in Book --- src/book/book.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/book/book.rs b/src/book/book.rs index 08b18c49..ccfbdeff 100644 --- a/src/book/book.rs +++ b/src/book/book.rs @@ -128,6 +128,7 @@ pub struct Book { /// The sections in this book. pub sections: Vec, /// Chapter title overrides for this book. + #[serde(default)] pub chapter_titles: HashMap, __non_exhaustive: (), }