Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 7b4747ff1c593b06fb0a980620c4b996de669624
parent fe9fad339e8687d8cdfafe994147e845306ab80f
Author: Sergio Benitez <sb@sergio.bz>
Date:   Fri, 17 Aug 2018 11:14:34 -0700

Fix 'Segments::into_path_buf()' docstring.

Diffstat:
Mcore/http/src/uri/segments.rs | 2+-
Mcore/lib/src/request/param.rs | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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