Fix typo in docs.

Fixes #2734.
This commit is contained in:
inyourface34456 2023-02-13 10:21:10 -05:00 committed by Sergio Benitez
parent e86d503ff0
commit 0e6b786096
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ impl Rocket<Build> {
/// "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())
/// }