diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-04-11 10:31:28 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-04-11 10:31:28 -0400 |
| commit | 24c5c2770203b0ddeb20b96fd7f165bf6ac551c4 (patch) | |
| tree | 79ea851044399323819ebf2d19e7af958bf8ac86 | |
| parent | c5842837b86abc720446055118bf714dabe30730 (diff) | |
| parent | 0fa0a6b67960bfd5636938b9140f647d5aed26f1 (diff) | |
| download | rust-24c5c2770203b0ddeb20b96fd7f165bf6ac551c4.tar.gz rust-24c5c2770203b0ddeb20b96fd7f165bf6ac551c4.zip | |
Rollup merge of #32870 - jethrogb:patch-1, r=GuillaumeGomez
Fix Windows UNC paths in std::path docs
| -rw-r--r-- | src/libstd/path.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index 5309cc3c858..f413bed86a8 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -466,7 +466,7 @@ enum State { Done = 3, } -/// A Windows path prefix, e.g. `C:` or `\server\share`. +/// A Windows path prefix, e.g. `C:` or `\\server\share`. /// /// Does not occur on Unix. #[stable(feature = "rust1", since = "1.0.0")] @@ -528,7 +528,7 @@ impl<'a> Hash for PrefixComponent<'a> { #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)] #[stable(feature = "rust1", since = "1.0.0")] pub enum Component<'a> { - /// A Windows path prefix, e.g. `C:` or `\server\share`. + /// A Windows path prefix, e.g. `C:` or `\\server\share`. /// /// Does not occur on Unix. #[stable(feature = "rust1", since = "1.0.0")] |
