about summary refs log tree commit diff
path: root/src/libstd/path.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-25 01:56:48 +0000
committerbors <bors@rust-lang.org>2015-05-25 01:56:48 +0000
commit0d64659c30c2fc92a0d179b52ec0689ce1f09f29 (patch)
treeb6c4af7eea48986573946025c4dcce8c436d4d7f /src/libstd/path.rs
parent7c4eedc21e609446671cc838d08473421917c353 (diff)
parentd59546d07d861e73ade099d28e19c6c7e64dd498 (diff)
downloadrust-0d64659c30c2fc92a0d179b52ec0689ce1f09f29.tar.gz
rust-0d64659c30c2fc92a0d179b52ec0689ce1f09f29.zip
Auto merge of #25736 - tshepang:path-nits, r=steveklabnik
Diffstat (limited to 'src/libstd/path.rs')
-rw-r--r--src/libstd/path.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 2f19644be85..d3573345afb 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -258,7 +258,7 @@ mod platform {
 /// Path prefixes (Windows only).
 ///
 /// Windows uses a variety of path styles, including references to drive
-/// volumes (like `C:`), network shared (like `\\server\share`) and
+/// volumes (like `C:`), network shared folders (like `\\server\share`) and
 /// others. In addition, some path prefixes are "verbatim", in which case
 /// `/` is *not* treated as a separator and essentially no normalization is
 /// performed.
@@ -312,14 +312,14 @@ impl<'a> Prefix<'a> {
 
     }
 
-    /// Determines if the prefix is verbatim, i.e. begins `\\?\`.
+    /// Determines if the prefix is verbatim, i.e. begins with `\\?\`.
     #[inline]
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn is_verbatim(&self) -> bool {
         use self::Prefix::*;
         match *self {
             Verbatim(_) | VerbatimDisk(_) | VerbatimUNC(_, _) => true,
-            _ => false
+            _ => false,
         }
     }