Add intra-doc links to `Scope::default_service`.

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

View File

@ -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>,