Correct various spellings and typos in the guide.

Note that there are also some changes to the release notes included.
This commit is contained in:
Daniel McNab 2018-03-01 11:22:30 +00:00 committed by Sergio Benitez
parent 4862dd2161
commit 96bb608e3a
5 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ rustup override set nightly
### Minimum Nightly
Rocket always requires the _latest_ version of Rust nightly. If your Rocket
application suddently stops building, ensure you're using the latest version of
application suddenly stops building, ensure you're using the latest version of
Rust nightly and Rocket by updating your toolchain and dependencies with:
```sh

View File

@ -278,7 +278,7 @@ ls upload # ensure the upload is there
cat upload/* # ensure that contents are correct
```
Note that since we haven't created a `GET /<id>` route, visting the returned URL
Note that since we haven't created a `GET /<id>` route, visiting the returned URL
will result in a **404**. We'll fix that now.
## Retrieving Pastes

View File

@ -101,7 +101,7 @@ fn hello(name: String, age: u8, cool: bool) -> String {
### Raw Strings
You may have noticed an unfamiliar [`RawStr`] type in the code example above.
This is a special type, provided by Rocket, that represents an unsanitzed,
This is a special type, provided by Rocket, that represents an unsanitized,
unvalidated, and undecoded raw string from an HTTP message. It exists to
separate validated string inputs, represented by types such as `String`, `&str`,
and `Cow<str>` types, from unvalidated inputs, represented by `&RawStr`. It
@ -109,7 +109,7 @@ provides helpful methods to convert the unvalidated string into a validated one.
Because `&RawStr` implements [`FromParam`], it can be used as the type of a
dynamic segment, as in the example above. When used as the type of a dynamic
segment, a `RawStr` points to a potentially undecoded string. By constrast, a
segment, a `RawStr` points to a potentially undecoded string. By contrast, a
`String` is guaranteed to be decoded. Which you should use depends on whether
you want direct but potentially unsafe access to the string (`&RawStr`), or safe
access to the string at the cost of an allocation (`String`).

View File

@ -22,7 +22,7 @@ and speed. Rocket makes it simple to write fast web applications without
sacrificing flexibility or type safety. All with minimal code.
> Rocket's so simple, you feel like you're doing something wrong. It's like if
> you're making fire with rocks and suddently someone gives you a lighter. Even
> you're making fire with rocks and suddenly someone gives you a lighter. Even
> though you know the lighter makes fire, and does it even faster and better and
> with a simple flick, the rock's still in your brain.
>

View File

@ -246,7 +246,7 @@ handle the breaking change in existing applications.
In addition to new features, Rocket saw the following improvements:
* "Rocket" is now capatilized in the `Server` HTTP header.
* "Rocket" is now capitalized in the `Server` HTTP header.
* The generic parameter of `rocket_contrib::Json` defaults to `json::Value`.
* The trailing '...' in the launch message was removed.
* The launch message prints regardless of the config environment.