Fix status code typo in release announcement.

This commit is contained in:
Jelte Fennema 2018-12-08 21:00:58 +01:00 committed by Sergio Benitez
parent f64d9bc1a1
commit cb520f4067
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ implementation can be automatically derived:
```rust
#[derive(Responder)]
enum Error {
#[response(status = 400)]
#[response(status = 401)]
Unauthorized(Json<Info>),
#[response(status = 404)]
NotFound(NamedFile, ContentType),