diff --git a/src/ch01-02-hello-world.md b/src/ch01-02-hello-world.md index 5b263e913..0f9b7ba04 100644 --- a/src/ch01-02-hello-world.md +++ b/src/ch01-02-hello-world.md @@ -285,8 +285,8 @@ Cargo has generated a "Hello World!" for you, just like the one we wrote earlier! So that part is the same. The differences between our previous project and the project generated by Cargo that we've seen so far are: -1. Our code goes in the `src` directory -2. The top level contains a `Cargo.toml` configuration file +- Our code goes in the `src` directory +- The top level contains a `Cargo.toml` configuration file Cargo expects your source files to live inside the `src` directory so that the top-level project directory is just for READMEs, license information, @@ -360,9 +360,9 @@ Hello, world! So a few more differences we've now seen: -3. Instead of using `rustc`, build a project using `cargo build` (or build and +- Instead of using `rustc`, build a project using `cargo build` (or build and run it in one step with `cargo run`) -4. Instead of the result of the build being put in the same directory as our +- Instead of the result of the build being put in the same directory as our code, Cargo will put it in the `target/debug` directory. The other advantage of using Cargo is that the commands are the same no matter