mirror of https://github.com/rwf2/Rocket.git
parent
e86d503ff0
commit
0e6b786096
|
@ -366,7 +366,7 @@ impl Rocket<Build> {
|
||||||
/// "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())
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Reference in New Issue