From e55348dbc090b797a94fe69fc87d45c6de92d97f Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Mon, 18 Sep 2023 14:48:44 +0200 Subject: [PATCH] Derive debug for `FontBook` (#2173) --- crates/typst/src/font/book.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst/src/font/book.rs b/crates/typst/src/font/book.rs index 2b7742bf..b758e585 100644 --- a/crates/typst/src/font/book.rs +++ b/crates/typst/src/font/book.rs @@ -8,7 +8,7 @@ use unicode_segmentation::UnicodeSegmentation; use super::{Font, FontStretch, FontStyle, FontVariant, FontWeight}; /// Metadata about a collection of fonts. -#[derive(Default, Clone, Hash)] +#[derive(Debug, Default, Clone, Hash)] pub struct FontBook { /// Maps from lowercased family names to font indices. families: BTreeMap>,