From b535f7ae385658829f57f742eb1cc6f2f40cddf5 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 9 Feb 2024 23:57:11 +0100 Subject: Invalidate `QRCode` cache on `Appearance` change --- style/src/qr_code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style/src/qr_code.rs') diff --git a/style/src/qr_code.rs b/style/src/qr_code.rs index a024506c..02c4709a 100644 --- a/style/src/qr_code.rs +++ b/style/src/qr_code.rs @@ -2,7 +2,7 @@ use crate::core::Color; /// The appearance of a QR code. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Appearance { /// The color of the QR code data cells pub cell: Color, -- cgit