updates main.rs, applies default formatting from rustfmt
This commit is contained in:
parent
36daadb425
commit
adc8160941
|
@ -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;
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue