Fix spacing in 'overview' code examples.

This commit is contained in:
J. Cohen 2021-09-13 20:48:47 -07:00 committed by Sergio Benitez
parent eba469b558
commit 42df0f3679
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ As an example, consider the simple route below:
```rust
#[get("/")]
fn index() -> &'static str {
"Hello, world!"
"Hello, world!"
}
```
@ -175,7 +175,7 @@ customizable **404** error is returned.
```rust
#[post("/user", data = "<new_user>")]
fn new_user(admin: AdminUser, new_user: Form<User>) -> T {
...
...
}
```