From 3470272ea0aee1ea4d21fc25458362507288e841 Mon Sep 17 00:00:00 2001 From: Ihor M Date: Fri, 20 Nov 2020 18:29:32 +0100 Subject: [PATCH] refactoring - cleanup --- src/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.rs b/src/status.rs index 56454b2..f4365b0 100644 --- a/src/status.rs +++ b/src/status.rs @@ -18,7 +18,7 @@ impl Status { } } -pub fn status_resource(version: Option) -> Resource { +pub fn status_resource(version: Option) -> Resource { let status = Status::new(version); web::resource("/status").route(web::get().to(move || status.status()))