From 9780f1193637c05f3bd78225817e6101dd56a07f Mon Sep 17 00:00:00 2001 From: Luca Palmieri Date: Fri, 28 Jan 2022 10:26:18 +0000 Subject: [PATCH] Fix formatting --- src/app.rs | 2 +- src/resource.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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