]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/path.rs
Typo
[rust.git] / src / libstd / path.rs
index 2d8686292788448fa13b98156fdaab240cfabcb4..0c60129494d5c3ecf0a012c73fa697be38a9c4a1 100644 (file)
@@ -1836,7 +1836,7 @@ fn prefix(&self) -> Option<Prefix> {
     /// * 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`
     ///