Fix intra-doc link.

This commit is contained in:
Luca Palmieri 2022-01-28 10:33:44 +00:00
parent 9780f11936
commit 7a0d236b4b
1 changed files with 1 additions and 1 deletions

View File

@ -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<F, U>(mut self, f: F) -> Self
where
F: IntoServiceFactory<U, ServiceRequest>,