Fix 'Segments::into_path_buf()' docstring.

This commit is contained in:
Sergio Benitez 2018-08-17 11:14:34 -07:00
parent fe9fad339e
commit 7b4747ff1c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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