From 60a4d5385beddf7dfc03e1eacce0a19bdca455d9 Mon Sep 17 00:00:00 2001 From: Fabian Stelmach Date: Sun, 31 May 2020 22:44:11 +0200 Subject: [PATCH] Update NormalizePath documentation to reflect trailing slash behavior --- src/middleware/normalize.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middleware/normalize.rs b/src/middleware/normalize.rs index 327c81cbf..b7a08f5db 100644 --- a/src/middleware/normalize.rs +++ b/src/middleware/normalize.rs @@ -16,6 +16,7 @@ use crate::Error; /// Performs following: /// /// - Merges multiple slashes into one. +/// - Appends a trailing slash if one is not present. /// /// ```rust /// use actix_web::{web, http, middleware, App, HttpResponse};