From: Ian Jackson Date: Sat, 26 Mar 2022 19:45:34 +0000 (+0000) Subject: Make AbbrevPresentationLayout and Parse be Debug X-Git-Tag: otter-1.0.0~132 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=53f20f257dd8ee1c6eb37824a877b3baf319a177;p=otter.git Make AbbrevPresentationLayout and Parse be Debug Signed-off-by: Ian Jackson --- 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 {