diff options
Diffstat (limited to 'src/library')
| -rw-r--r-- | src/library/mod.rs | 1 | ||||
| -rw-r--r-- | src/library/spacing.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 1a36fcc7..f6666174 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -1,6 +1,5 @@ //! The _Typst_ standard library. -use toddle::query::FontProvider; use crate::syntax::Scope; use crate::func::prelude::*; diff --git a/src/library/spacing.rs b/src/library/spacing.rs index b948153d..d77285c5 100644 --- a/src/library/spacing.rs +++ b/src/library/spacing.rs @@ -67,7 +67,7 @@ function! { /// The different kinds of content that can be spaced. Used as a metadata type /// for the [`ContentSpacingFunc`]. -#[derive(Debug, Copy, Clone, Eq, PartialEq)] +#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] #[allow(missing_docs)] pub enum ContentKind { Word, |
