Skip to content

Commit

Permalink
Fix markdown word wrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Aug 25, 2021
1 parent 5c92848 commit 010e762
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/guide/4-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,10 @@ struct MyForm<'v> {
# rocket_guide_tests::assert_form_parses_ok!(MyForm, "");
```

The default can be overridden or unset using the `#[field(default = expr)]` field
attribute. If `expr` is not literally `None`, the parameter sets the default
value of the field to be `expr.into()`. If `expr` _is_ `None`, the parameter
_unsets_ the default value of the field, if any.
The default can be overridden or unset using the `#[field(default = expr)]`
field attribute. If `expr` is not literally `None`, the parameter sets the
default value of the field to be `expr.into()`. If `expr` _is_ `None`, the
parameter _unsets_ the default value of the field, if any.

```rust
# use rocket::form::FromForm;
Expand Down

0 comments on commit 010e762

Please sign in to comment.