fix fmt
checks / format (push) Successful in 6s
Details
checks / format (push) Successful in 6s
Details
This commit is contained in:
parent
a32e7757c5
commit
f55d57c8ef
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue