diff options
Diffstat (limited to 'core/src/text.rs')
-rw-r--r-- | core/src/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/text.rs b/core/src/text.rs index 436fee9a..dc8f5785 100644 --- a/core/src/text.rs +++ b/core/src/text.rs @@ -252,7 +252,7 @@ pub struct Span<'a, Link = (), Font = crate::Font> { } /// A text highlight. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Highlight { /// The [`Background`] of the highlight. pub background: Background, |