Skip to content

Commit 24c5c27

Browse files
committed
Rollup merge of #32870 - jethrogb:patch-1, r=GuillaumeGomez
Fix Windows UNC paths in std::path docs
2 parents c584283 + 0fa0a6b commit 24c5c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/path.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ enum State {
466466
Done = 3,
467467
}
468468

469-
/// A Windows path prefix, e.g. `C:` or `\server\share`.
469+
/// A Windows path prefix, e.g. `C:` or `\\server\share`.
470470
///
471471
/// Does not occur on Unix.
472472
#[stable(feature = "rust1", since = "1.0.0")]
@@ -528,7 +528,7 @@ impl<'a> Hash for PrefixComponent<'a> {
528528
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
529529
#[stable(feature = "rust1", since = "1.0.0")]
530530
pub enum Component<'a> {
531-
/// A Windows path prefix, e.g. `C:` or `\server\share`.
531+
/// A Windows path prefix, e.g. `C:` or `\\server\share`.
532532
///
533533
/// Does not occur on Unix.
534534
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)