updates main.rs, applies default formatting from rustfmt
This commit is contained in:
parent
69b694ae60
commit
ce51888070
|
@ -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