mirror of https://github.com/rwf2/Rocket.git
Fix status code typo in release announcement.
This commit is contained in:
parent
f64d9bc1a1
commit
cb520f4067
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue