Skip to content

Commit 0d64659

Browse files
committed
Auto merge of #25736 - tshepang:path-nits, r=steveklabnik
2 parents 7c4eedc + d59546d commit 0d64659

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/path.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ mod platform {
258258
/// Path prefixes (Windows only).
259259
///
260260
/// Windows uses a variety of path styles, including references to drive
261-
/// volumes (like `C:`), network shared (like `\\server\share`) and
261+
/// volumes (like `C:`), network shared folders (like `\\server\share`) and
262262
/// others. In addition, some path prefixes are "verbatim", in which case
263263
/// `/` is *not* treated as a separator and essentially no normalization is
264264
/// performed.
@@ -312,14 +312,14 @@ impl<'a> Prefix<'a> {
312312

313313
}
314314

315-
/// Determines if the prefix is verbatim, i.e. begins `\\?\`.
315+
/// Determines if the prefix is verbatim, i.e. begins with `\\?\`.
316316
#[inline]
317317
#[stable(feature = "rust1", since = "1.0.0")]
318318
pub fn is_verbatim(&self) -> bool {
319319
use self::Prefix::*;
320320
match *self {
321321
Verbatim(_) | VerbatimDisk(_) | VerbatimUNC(_, _) => true,
322-
_ => false
322+
_ => false,
323323
}
324324
}
325325

0 commit comments

Comments
 (0)