diff --git a/core/http/src/uri/segments.rs b/core/http/src/uri/segments.rs index 66d37a5b..393bcfe3 100644 --- a/core/http/src/uri/segments.rs +++ b/core/http/src/uri/segments.rs @@ -51,7 +51,7 @@ impl<'a> Segments<'a> { /// * Decoded segment starts with any of: '*' /// * Decoded segment ends with any of: `:`, `>`, `<` /// * Decoded segment contains any of: `/` - /// * On Windows, decoded segment contains any of: '\' + /// * On Windows, decoded segment contains any of: `\` /// * Percent-encoding results in invalid UTF8. /// /// Additionally, if `allow_dotfiles` is `false`, an `Err` is returned if diff --git a/core/lib/src/request/param.rs b/core/lib/src/request/param.rs index cfaaec66..faa1c623 100644 --- a/core/lib/src/request/param.rs +++ b/core/lib/src/request/param.rs @@ -318,7 +318,7 @@ impl<'a> FromSegments<'a> for Segments<'a> { /// * Decoded segment starts with any of: `.` (except `..`), `*` /// * Decoded segment ends with any of: `:`, `>`, `<` /// * Decoded segment contains any of: `/` -/// * On Windows, decoded segment contains any of: '\' +/// * On Windows, decoded segment contains any of: `\` /// * Percent-encoding results in invalid UTF8. /// /// As a result of these conditions, a `PathBuf` derived via `FromSegments` is