mirror of https://github.com/rwf2/Rocket.git
Use correct response code in catcher rustdocs.
This commit is contained in:
parent
4a9c621fc2
commit
b205e6a74f
|
@ -47,7 +47,7 @@ use yansi::Color::*;
|
|||
/// "Whoops! Looks like we messed up."
|
||||
/// }
|
||||
///
|
||||
/// #[error(400)]
|
||||
/// #[error(404)]
|
||||
/// fn not_found(req: &Request) -> String {
|
||||
/// format!("I couldn't find '{}'. Try something else?", req.uri())
|
||||
/// }
|
||||
|
|
Loading…
Reference in New Issue