From 0918c76efa6d07b283299ed6ceec6e31764ce16d Mon Sep 17 00:00:00 2001 From: Janggun Lee Date: Mon, 5 Aug 2024 11:19:31 +0900 Subject: [PATCH] Fix docs for hello_server. Closes #967. --- homework/doc/hello_server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework/doc/hello_server.md b/homework/doc/hello_server.md index 2d9b721dcf8..eb53dcfa730 100644 --- a/homework/doc/hello_server.md +++ b/homework/doc/hello_server.md @@ -2,7 +2,7 @@ ## Expected outcome -- Execute `cargo run hello_server`. A web server should run. If it doesn't, try changing the port used in [`hello_server.rs:6`](../src/bin/hello_server.rs). +- Execute `cargo run --features="build-bin" hello_server`. A web server should run. If it doesn't, try changing the port used in [`hello_server.rs:6`](../src/bin/hello_server.rs). - Run `curl http://localhost:7878/alice`. It should wait for a few seconds, and return a web page. - Run `curl http://localhost:7878/alice` again. It should instantly return a web page. - Run `curl http://localhost:7878/bob`. It should wait for a few seconds, and return a web page.