From f111314750d1ce73b8713c0450211f0f7930e230 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 6 Dec 2020 00:42:42 +0000 Subject: [PATCH] formatting, some from rustfmt (manually picked) Signed-off-by: Ian Jackson --- src/cmdlistener.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/cmdlistener.rs b/src/cmdlistener.rs index b9d7c847..ed4d6740 100644 --- a/src/cmdlistener.rs +++ b/src/cmdlistener.rs @@ -746,14 +746,12 @@ impl UpdateHandler { } buf.log_updates(updates.log); buf.raw_updates(raw); - }, + } } } #[throws(SVGProcessingError)] - fn complete(self, - g: &mut InstanceGuard, - who: &Html) { + fn complete(self, g: &mut InstanceGuard, who: &Html) { use UpdateHandler::*; match self { Bulk(bulk) => { @@ -765,13 +763,13 @@ impl UpdateHandler { if bulk.logs { buf.log_updates(vec![LogEntry { - html: Html(format!("{} (re)configured the game", &who.0)) + html: Html(format!("{} (re)configured the game", &who.0)), }]); } buf.raw_updates(bulk.raw); - }, - Online => { }, + } + Online => {} } } } -- 2.30.2