diff --git a/lib/src/catcher.rs b/lib/src/catcher.rs index 67873aae..61751bf9 100644 --- a/lib/src/catcher.rs +++ b/lib/src/catcher.rs @@ -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()) /// }