mirror of https://github.com/rwf2/Rocket.git
Fix typo in guide: 'mechnisms' -> 'mechanisms'.
This commit is contained in:
parent
e45e164561
commit
7fa496f9f8
|
@ -141,7 +141,7 @@ Rocket begins serving requests after being _launched_, which starts a
|
||||||
multi-threaded asynchronous server and dispatches requests to matching routes as
|
multi-threaded asynchronous server and dispatches requests to matching routes as
|
||||||
they arrive.
|
they arrive.
|
||||||
|
|
||||||
There are two mechnisms by which a `Rocket` can be launched. The first and
|
There are two mechanisms by which a `Rocket` can be launched. The first and
|
||||||
preferred approach is via the `#[launch]` route attribute, which generates a
|
preferred approach is via the `#[launch]` route attribute, which generates a
|
||||||
`main` function that sets up an async runtime and starts the server. With
|
`main` function that sets up an async runtime and starts the server. With
|
||||||
`#[launch]`, our complete _Hello, world!_ application looks like:
|
`#[launch]`, our complete _Hello, world!_ application looks like:
|
||||||
|
|
Loading…
Reference in New Issue