From f55d57c8ef837884e267c2820bdab30c67a020f2 Mon Sep 17 00:00:00 2001 From: cascode Date: Sat, 21 Oct 2023 02:21:52 -0700 Subject: [PATCH] fix fmt --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index bd5795f..3489aa9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,8 +2,7 @@ use warp::Filter; #[tokio::main] async fn main() { - let hello = warp::get() - .map(|| format!("Hello world!")); + let hello = warp::get().map(|| format!("Hello world!")); warp::serve(hello).run(([127, 0, 0, 1], 5309)).await; }