This commit is contained in:
cascode _ 2023-10-21 02:21:52 -07:00 committed by cascode
parent 65c0de617f
commit 9f39ca1530
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}