]> git.lizzy.rs Git - rust.git/commit
Updated documentation of Prefix::VerbatimDisk
authorSOFe <sofe2038@gmail.com>
Fri, 15 May 2020 14:41:36 +0000 (22:41 +0800)
committerGitHub <noreply@github.com>
Fri, 15 May 2020 14:41:36 +0000 (22:41 +0800)
commit084cdde976e2485104bc14b8079238b37ab8aac1
tree6f3dc297d4d6e0ebcc9dfe989f81b48ea82ee351
parent027149919e36ce5645ca5d02d55b97ef52eb55ba
Updated documentation of Prefix::VerbatimDisk

PrefixComponent with Prefix::VerbatimDisk does not contain the trailing slash. The documentation here is also inconsistent with the documentation on other variants that reflect the `PrefixComponent::as_os_str()` return value.
src/libstd/path.rs