From eb53d18e05f49e959d2da33efe34fe6bd4aee4e5 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 26 Dec 2020 19:17:37 +0000 Subject: [PATCH] use tuple binding in hello world example --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 23f54f2..977ec11 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -59,7 +59,7 @@ async fn main() -> std::io::Result<()> { .route("/", web::get().to(greet)) .route("/{name}", web::get().to(greet)) }) - .bind("127.0.0.1:8080")? + .bind(("127.0.0.1", 8080))? .run() .await }` "rust" "" }}