mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 07:08:16 +01:00
Small clarification
This commit is contained in:
parent
f6b1a6f435
commit
a69ba56ebe
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ pub trait FromRequest: Sized {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This "extractor" pattern is inspired by Bevy's ECS.
|
||||||
|
|
||||||
You can also return different response types:
|
You can also return different response types:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|
Loading…
Reference in a new issue