Fix formatting

This commit is contained in:
Luca Palmieri 2022-01-28 10:26:18 +00:00
parent efe87c5bcf
commit 9780f11936
2 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ where
/// Default service that is invoked when no matching resource could be found.
///
/// You must use a [`Route`] as default service:
///
///
/// ```
/// use actix_web::{web, App, HttpResponse};
///

View File

@ -314,7 +314,7 @@ where
/// Default service to be used if no matching route could be found.
/// 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).
pub fn default_service<F, U>(mut self, f: F) -> Self