Rollup merge of #52582 - felixrabe:patch-2, r=pietroalbini

Typo
This commit is contained in:
kennytm 2018-07-22 22:10:17 +08:00
commit 1208944ccb
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

@ -1836,7 +1836,7 @@ impl Path {
/// * On Unix, a path has a root if it begins with `/`.
///
/// * On Windows, a path has a root if it:
/// * has no prefix and begins with a separator, e.g. `\\windows`
/// * has no prefix and begins with a separator, e.g. `\windows`
/// * has a prefix followed by a separator, e.g. `c:\windows` but not `c:windows`
/// * has any non-disk prefix, e.g. `\\server\share`
///