From 53f20f257dd8ee1c6eb37824a877b3baf319a177 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 26 Mar 2022 19:45:34 +0000 Subject: [PATCH] Make AbbrevPresentationLayout and Parse be Debug Signed-off-by: Ian Jackson --- daemon/main.rs | 1 + src/ui.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/daemon/main.rs b/daemon/main.rs index 2dcf5757..83c1766c 100644 --- a/daemon/main.rs +++ b/daemon/main.rs @@ -161,6 +161,7 @@ impl<'a,'r,T> FromRequest<'a,'r> for WholeQueryString } } +#[derive(Debug)] pub struct Parse(pub T); impl<'r, T> FromParam<'r> for Parse diff --git a/src/ui.rs b/src/ui.rs index 38c89e4e..38be33c1 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -71,6 +71,7 @@ impl Default for PresentationLayout { fn default() -> Self { PL::Portrait } } +#[derive(Debug)] pub struct AbbrevPresentationLayout(pub PresentationLayout); impl FromStr for AbbrevPresentationLayout { -- 2.30.2