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
|
```rust
|
||||||
#[derive(Responder)]
|
#[derive(Responder)]
|
||||||
enum Error {
|
enum Error {
|
||||||
#[response(status = 400)]
|
#[response(status = 401)]
|
||||||
Unauthorized(Json<Info>),
|
Unauthorized(Json<Info>),
|
||||||
#[response(status = 404)]
|
#[response(status = 404)]
|
||||||
NotFound(NamedFile, ContentType),
|
NotFound(NamedFile, ContentType),
|
||||||
|
|
Loading…
Reference in New Issue