mirror of https://github.com/rwf2/Rocket.git
Fix 'Segments::into_path_buf()' docstring.
This commit is contained in:
parent
fe9fad339e
commit
7b4747ff1c
|
@ -51,7 +51,7 @@ impl<'a> Segments<'a> {
|
||||||
/// * Decoded segment starts with any of: '*'
|
/// * Decoded segment starts with any of: '*'
|
||||||
/// * Decoded segment ends with any of: `:`, `>`, `<`
|
/// * Decoded segment ends with any of: `:`, `>`, `<`
|
||||||
/// * Decoded segment contains 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.
|
/// * Percent-encoding results in invalid UTF8.
|
||||||
///
|
///
|
||||||
/// Additionally, if `allow_dotfiles` is `false`, an `Err` is returned if
|
/// Additionally, if `allow_dotfiles` is `false`, an `Err` is returned if
|
||||||
|
|
|
@ -318,7 +318,7 @@ impl<'a> FromSegments<'a> for Segments<'a> {
|
||||||
/// * Decoded segment starts with any of: `.` (except `..`), `*`
|
/// * Decoded segment starts with any of: `.` (except `..`), `*`
|
||||||
/// * Decoded segment ends with any of: `:`, `>`, `<`
|
/// * Decoded segment ends with any of: `:`, `>`, `<`
|
||||||
/// * Decoded segment contains 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.
|
/// * Percent-encoding results in invalid UTF8.
|
||||||
///
|
///
|
||||||
/// As a result of these conditions, a `PathBuf` derived via `FromSegments` is
|
/// As a result of these conditions, a `PathBuf` derived via `FromSegments` is
|
||||||
|
|
Loading…
Reference in New Issue