diff options
| author | KillTheMule <KillTheMule@users.noreply.github.com> | 2023-09-18 14:48:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-18 14:48:44 +0200 |
| commit | e55348dbc090b797a94fe69fc87d45c6de92d97f (patch) | |
| tree | 5805abe5c1749fc162e2e91b33c67e6aac6ed7d7 /crates | |
| parent | 8b465222b2bf263a03faae7b0ad62f326c758244 (diff) | |
Derive debug for `FontBook` (#2173)
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/font/book.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, Vec<usize>>, |
