Add 'Debug' to 'Responder' derive in announcement.

This commit is contained in:
Sergio Benitez 2018-12-12 00:04:48 -08:00
parent 4a0fee4129
commit 104429f398
1 changed files with 1 additions and 1 deletions

View File

@ -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>),