mirror of https://github.com/fafhrd91/actix-web
Fix intra-doc link.
This commit is contained in:
parent
9780f11936
commit
7a0d236b4b
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue