From 1e80fb8e9236f7a0c4dbb77c7f9f1f1a5744f668 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 14 Oct 2020 19:02:03 +0200 Subject: [PATCH] code cleanups Signed-off-by: Thomas Lamprecht --- src/server/rest.rs | 3 --- src/tools/file_logger.rs | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/server/rest.rs b/src/server/rest.rs index 8008b28c..6b20c57f 100644 --- a/src/server/rest.rs +++ b/src/server/rest.rs @@ -521,9 +521,6 @@ async fn handle_request(api: Arc, req: Request) -> Result>(&mut self, msg: S) { - let msg = msg.as_ref(); let mut stdout = std::io::stdout();