mirror of https://github.com/fafhrd91/actix-web
Update NormalizePath documentation to reflect trailing slash behavior
This commit is contained in:
parent
bebd1166e8
commit
60a4d5385b
|
@ -16,6 +16,7 @@ use crate::Error;
|
||||||
/// Performs following:
|
/// Performs following:
|
||||||
///
|
///
|
||||||
/// - Merges multiple slashes into one.
|
/// - Merges multiple slashes into one.
|
||||||
|
/// - Appends a trailing slash if one is not present.
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use actix_web::{web, http, middleware, App, HttpResponse};
|
/// use actix_web::{web, http, middleware, App, HttpResponse};
|
||||||
|
|
Loading…
Reference in New Issue