From 183d99f0c2a8e34b574966d8f587bef0d195e54a Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 16 Nov 2026 13:27:45 +0000 Subject: [PATCH] design-lint: props: derive the setters of print components (#[prop]) and drop the hand setters --- crates/print/src/ui/panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/print/src/ui/panel.rs b/crates/print/src/ui/panel.rs index fd7b86f64f..fa8c8a686d 100644 --- a/crates/print/src/ui/panel.rs +++ b/crates/print/src/ui/panel.rs @@ -85,7 +85,7 @@ pub struct PrintPanel<'a> { #[prop] driver: bool, /// The driver's paper in points, as the caller last took it. - #[prop] + #[prop(quantity = "paper size the printer driver reports, in points")] page: Option, /// Why the driver gave no page. #[prop]