diff --git a/src/application.rs b/src/application.rs index ff37b78f..f78335f1 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()); /// });