Skip to content

Commit

Permalink
Update axum/src/docs/extract.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Platte <[email protected]>
  • Loading branch information
vsuryamurthy and jplatte committed Jun 24, 2024
1 parent 05ba618 commit 6423bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum/src/docs/extract.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ let app = Router::new().route("/users", post(create_user));
# let _: Router = app;
```

An alternate option is to make use of the optional extractors in [axum-extra] that return `None`
Another option is to make use of the optional extractors in [axum-extra] that return `None`
if there are no query parameters in the request or return `Some(T)` if deserialization was successful.

# Customizing extractor responses
Expand Down

0 comments on commit 6423bb7

Please sign in to comment.