From 2183539b5917994bdee36fdb50357a5eb891453b Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 28 Mar 2022 21:43:36 +0800 Subject: Code reformat. --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 07380b5..4c58eaf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,8 +25,7 @@ mod config; const CONFIG_FILE_NAME: &str = "kimikuri.json"; -fn with_object(obj: T) - -> impl Filter + Clone { +fn with_object(obj: T) -> impl Filter + Clone { warp::any().map(move || obj.clone()) } -- cgit v1.2.3