summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorFelix Rabe <felix@rabe.io>2018-07-21 11:49:52 +0200
committerGitHub <noreply@github.com>2018-07-21 11:49:52 +0200
commitc581b96f39a8c9e75261ae735d976e989488e637 (patch)
tree69f5f37f3199fe9d3a1ec31c3f794bcb062646a1 /src/libstd
parent17eb392cefdcf4b98c47f9ab36742e66a314932f (diff)
downloadrust-c581b96f39a8c9e75261ae735d976e989488e637.tar.gz
rust-c581b96f39a8c9e75261ae735d976e989488e637.zip
Typo
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 2d868629278..0c60129494d 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -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`
     ///