From a26f93c57298612fd83e2c37edd0a6bbd7d18fdf Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 22 May 2021 16:42:27 -0700 Subject: [PATCH] Fix references to removed 'hello_world' example. --- README.md | 2 +- site/guide/1-quickstart.md | 4 ++-- site/guide/8-testing.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index de97387e..3243d46f 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ example can be compiled and run with Cargo. For instance, the following sequence of commands builds and runs the `Hello, world!` example: ```sh -cd examples/hello_world +cd examples/hello cargo run ``` diff --git a/site/guide/1-quickstart.md b/site/guide/1-quickstart.md index c48cb815..c9254a6d 100644 --- a/site/guide/1-quickstart.md +++ b/site/guide/1-quickstart.md @@ -9,13 +9,13 @@ started](../getting-started) section. The absolute fastest way to start experimenting with Rocket is to clone the Rocket repository and run the included examples in the `examples/` directory. -For instance, the following set of commands runs the `hello_world` example: +For instance, the following set of commands runs the `hello` example: ```sh git clone https://github.com/SergioBenitez/Rocket cd Rocket git checkout master -cd examples/hello_world +cd examples/hello cargo run ``` diff --git a/site/guide/8-testing.md b/site/guide/8-testing.md index 4f717fbf..ce181599 100644 --- a/site/guide/8-testing.md +++ b/site/guide/8-testing.md @@ -299,7 +299,7 @@ During compilation, you should see output like: ```rust,ignore note: emitting Rocket code generation debug output - --> examples/hello_world/src/main.rs:14:1 + --> examples/hello/src/main.rs:14:1 | 14 | #[get("/world")] | ^^^^^^^^^^^^^^^^