mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +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
|
||||
|
||||
If you want write an extractor that generically wraps another extractor (that
|
||||
may or may not consume the request body) you should implement both
|
||||
If you want to write an extractor that generically wraps another extractor
|
||||
(that may or may not consume the request body) you should implement both
|
||||
[`FromRequest`] and [`FromRequestParts`]:
|
||||
|
||||
```rust
|
||||
|
||||
Reference in New Issue
Block a user