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 4a9c621fc2
commit b205e6a74f
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."
/// } /// }
/// ///
/// #[error(400)] /// #[error(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())
/// } /// }