about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-22 22:10:17 +0800
committerkennytm <kennytm@gmail.com>2018-07-23 01:00:05 +0800
commit1208944ccbd6d683b5c813150d829a728b3328a1 (patch)
tree61bd35b5d1d28766d0c8a937cbae9a2991340db7
parent8e6971dd2dc4eb37a6ca0b4de6d6d18336091eec (diff)
parentc581b96f39a8c9e75261ae735d976e989488e637 (diff)
downloadrust-1208944ccbd6d683b5c813150d829a728b3328a1.tar.gz
rust-1208944ccbd6d683b5c813150d829a728b3328a1.zip
Rollup merge of #52582 - felixrabe:patch-2, r=pietroalbini
Typo
-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`
     ///