mirror of https://github.com/fafhrd91/actix-web
Add intra-doc links to `Scope::default_service`.
This commit is contained in:
parent
7a0d236b4b
commit
e8a86d2ca8
|
@ -264,7 +264,8 @@ where
|
|||
|
||||
/// Default service to be used if no matching route could be found.
|
||||
///
|
||||
/// If default resource is not registered, app's default resource is being used.
|
||||
/// If a default service is not registered, it will fall back to the default service of
|
||||
/// the parent [`App`](crate::App) (see [`App::default_service`](crate::App::default_service).
|
||||
pub fn default_service<F, U>(mut self, f: F) -> Self
|
||||
where
|
||||
F: IntoServiceFactory<U, ServiceRequest>,
|
||||
|
|
Loading…
Reference in New Issue