This commit is contained in:
Felix Rabe
2018-07-21 11:49:52 +02:00
committed by GitHub
parent 17eb392cef
commit c581b96f39

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`
///