From: Ian Jackson Date: Mon, 28 Mar 2022 00:36:20 +0000 (+0100) Subject: actix cleanup: Minor reformattint X-Git-Tag: otter-1.0.0~95 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c1a1f6bbc96e23cac493d5fe9df6dc40afa2661e;p=otter.git actix cleanup: Minor reformattint Signed-off-by: Ian Jackson --- diff --git a/daemon/api.rs b/daemon/api.rs index dc6c3858..2a56c239 100644 --- a/daemon/api.rs +++ b/daemon/api.rs @@ -87,9 +87,7 @@ impl ResponseError for FatalErrorResponse { } } - fn error_response(&self) -> HttpResponse { - error_response(self) - } + fn error_response(&self) -> HttpResponse { error_response(self) } } #[throws(Fatal)] diff --git a/daemon/main.rs b/daemon/main.rs index ad484e68..2d5113fe 100644 --- a/daemon/main.rs +++ b/daemon/main.rs @@ -327,9 +327,7 @@ impl ResponseError for BundleDownloadError { } } - fn error_response(&self) -> HttpResponse { - error_response(self) - } + fn error_response(&self) -> HttpResponse { error_response(self) } } #[route("/_/bundle/{instance}/{id}", method="GET", method="HEAD")]