Fix references to removed 'hello_world' example.

This commit is contained in:
Sergio Benitez 2021-05-22 16:42:27 -07:00
parent a13a2f4a84
commit a26f93c572
3 changed files with 4 additions and 4 deletions

View File

@ -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: of commands builds and runs the `Hello, world!` example:
```sh ```sh
cd examples/hello_world cd examples/hello
cargo run cargo run
``` ```

View File

@ -9,13 +9,13 @@ started](../getting-started) section.
The absolute fastest way to start experimenting with Rocket is to clone the The absolute fastest way to start experimenting with Rocket is to clone the
Rocket repository and run the included examples in the `examples/` directory. 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 ```sh
git clone https://github.com/SergioBenitez/Rocket git clone https://github.com/SergioBenitez/Rocket
cd Rocket cd Rocket
git checkout master git checkout master
cd examples/hello_world cd examples/hello
cargo run cargo run
``` ```

View File

@ -299,7 +299,7 @@ During compilation, you should see output like:
```rust,ignore ```rust,ignore
note: emitting Rocket code generation debug output 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")] 14 | #[get("/world")]
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^