mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
Fix typo in extractors guide (#3554)
This commit is contained in:
@@ -606,8 +606,8 @@ For more details, including how to disable this limit, see [`DefaultBodyLimit`].
|
|||||||
|
|
||||||
# Wrapping extractors
|
# Wrapping extractors
|
||||||
|
|
||||||
If you want write an extractor that generically wraps another extractor (that
|
If you want to write an extractor that generically wraps another extractor
|
||||||
may or may not consume the request body) you should implement both
|
(that may or may not consume the request body) you should implement both
|
||||||
[`FromRequest`] and [`FromRequestParts`]:
|
[`FromRequest`] and [`FromRequestParts`]:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|||||||
Reference in New Issue
Block a user