Use correct response code in catcher rustdocs.

This commit is contained in:
ImPerat0R_ 2018-02-26 17:34:10 +08:00 committed by Sergio Benitez
parent d05eefd292
commit 5df01effbb
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ use yansi::Color::*;
/// "Whoops! Looks like we messed up." /// "Whoops! Looks like we messed up."
/// } /// }
/// ///
/// #[catch(400)] /// #[catch(404)]
/// fn not_found(req: &Request) -> String { /// fn not_found(req: &Request) -> String {
/// format!("I couldn't find '{}'. Try something else?", req.uri()) /// format!("I couldn't find '{}'. Try something else?", req.uri())
/// } /// }