diff --git a/src/resource.rs b/src/resource.rs index d7002a7f9..3451eff45 100644 --- a/src/resource.rs +++ b/src/resource.rs @@ -316,7 +316,7 @@ where /// You can pass a [`Route`] as default_service. /// /// If no default service is specified, a `405 Method Not Allowed` response will be returned to the caller. - /// [`Resource`] does **not** inherit the default handler specified on the parent [`App`](crate::App) or [`Scope`](crate::web::Scope). + /// [`Resource`] does **not** inherit the default handler specified on the parent [`App`](crate::App) or [`Scope`](crate::Scope). pub fn default_service(mut self, f: F) -> Self where F: IntoServiceFactory,