mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
@@ -32,12 +32,18 @@ $ mdbook build
|
||||
```
|
||||
|
||||
The output will be in the `book` subdirectory. To check it out, open it in
|
||||
your web browser:
|
||||
your web browser.
|
||||
|
||||
_Firefox:_
|
||||
```bash
|
||||
$ firefox book/index.html
|
||||
```
|
||||
|
||||
_Chrome:_
|
||||
```bash
|
||||
$ open -a "Google Chrome" book/index.html
|
||||
```
|
||||
|
||||
To run the tests:
|
||||
|
||||
```bash
|
||||
|
||||
@@ -5,7 +5,7 @@ connection to run the commands in this chapter, as we’ll be downloading Rust
|
||||
from the internet.
|
||||
|
||||
We’ll be showing off a number of commands using a terminal, and those lines all
|
||||
start with `$`. You don't need to type in the `$`s; they are there to indicate
|
||||
start with `$`. You don't need to type in the `$` character; they are there to indicate
|
||||
the start of each command. You’ll see many tutorials and examples around the web
|
||||
that follow this convention: `$` for commands run as a regular user, and `#`
|
||||
for commands you should be running as an administrator. Lines that don't start
|
||||
|
||||
Reference in New Issue
Block a user