mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-17 23:19:06 +00:00
Add 'Debug' to 'Responder' derive in announcement.
This commit is contained in:
parent
4a0fee4129
commit
104429f398
@ -287,7 +287,7 @@ Alternatively, an `enum` could be declared with the appropriate variants, and
|
||||
implementation can be automatically derived:
|
||||
|
||||
```rust
|
||||
#[derive(Responder)]
|
||||
#[derive(Responder, Debug)]
|
||||
enum Error {
|
||||
#[response(status = 401)]
|
||||
Unauthorized(Json<Info>),
|
||||
|
Loading…
Reference in New Issue
Block a user