diff options
author | Keuin <[email protected]> | 2022-03-28 21:43:36 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-03-28 21:43:36 +0800 |
commit | 2183539b5917994bdee36fdb50357a5eb891453b (patch) | |
tree | 61d4ef113d3b0a0f53168df05dd7cd4261ed9900 | |
parent | 48c90d54d6ce61550054d163de8144f34828f651 (diff) |
Code reformat.
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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<T: Clone + Send>(obj: T) - -> impl Filter<Extract=(T, ), Error=Infallible> + Clone { +fn with_object<T: Clone + Send>(obj: T) -> impl Filter<Extract=(T, ), Error=Infallible> + Clone { warp::any().map(move || obj.clone()) } |