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