Slightly cleaner Readme.

This commit is contained in:
Sergio Benitez 2016-09-04 15:07:47 -07:00
parent a4f56f1790
commit ec38d70449
1 changed files with 6 additions and 1 deletions

View File

@ -28,11 +28,16 @@ route resulting in the string `Hello, 58 year old named John!` being sent to the
browser. If an `<age>` string was passed in that can't be parsed as a `u8`, the browser. If an `<age>` string was passed in that can't be parsed as a `u8`, the
route won't get called, resulting in a 404 error. route won't get called, resulting in a 404 error.
## Building
### Nightly
Rocket requires a nightly version of Rust as it makes heavy use of syntax Rocket requires a nightly version of Rust as it makes heavy use of syntax
extensions. This also means that the first two unwieldly lines in the Rust file extensions. This also means that the first two unwieldly lines in the Rust file
above are required. above are required.
## Building ### Examples
Try running the examples in the `examples/` folder. For instance, the following Try running the examples in the `examples/` folder. For instance, the following
sequence of commands builds and runs the `Hello, world!` example: sequence of commands builds and runs the `Hello, world!` example: