updates main.rs, applies default formatting from rustfmt

This commit is contained in:
cascode _ 2023-10-19 13:12:21 -04:00 committed by cascode
parent 36daadb425
commit adc8160941
1 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,5 @@ async fn main() {
let hello = warp::get() let hello = warp::get()
.map(|| format!("Hello world!")); .map(|| format!("Hello world!"));
warp::serve(hello) warp::serve(hello).run(([127, 0, 0, 1], 5309)).await;
.run(([127, 0, 0, 1], 5309))
.await;
} }