diff --git a/src/app.rs b/src/app.rs index 2a85c2396..bbf752595 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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}; /// diff --git a/src/resource.rs b/src/resource.rs index c22a133d0..d7002a7f9 100644 --- a/src/resource.rs +++ b/src/resource.rs @@ -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(mut self, f: F) -> Self