diff --git a/src/application.rs b/src/application.rs index ff37b78f3..f78335f1f 100644 --- a/src/application.rs +++ b/src/application.rs @@ -314,7 +314,7 @@ where /// /// fn main() { /// let app = App::new() - /// .resource("/test", |r| { + /// .resource("/users/{userid}/{friend}", |r| { /// r.get().f(|_| HttpResponse::Ok()); /// r.head().f(|_| HttpResponse::MethodNotAllowed()); /// });