From 6866215a8a1adacbce66342933709620df0cf1f1 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Fri, 3 Jul 2020 12:42:01 +0200 Subject: [PATCH] remove unneeded Debug derive --- server/service/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/service/src/main.rs b/server/service/src/main.rs index f643661..3316d0c 100644 --- a/server/service/src/main.rs +++ b/server/service/src/main.rs @@ -22,7 +22,7 @@ use serde_json::Value; const DEFAULT_SIZE: usize = 25; -#[derive(Copy, Clone, Debug, Deserialize)] +#[derive(Copy, Clone, Deserialize)] enum SortKey { Name, Size, @@ -50,7 +50,7 @@ impl fmt::Display for SortKey { } } -#[derive(Copy, Clone, Debug, Deserialize)] +#[derive(Copy, Clone, Deserialize)] enum SortDirection { Asc, Desc,