mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 07:24:00 +00:00
Fix Windows UNC paths in std::path docs
This commit is contained in:
parent
526f2bf5c5
commit
0fa0a6b679
@ -466,7 +466,7 @@ enum State {
|
|||||||
Done = 3,
|
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.
|
/// Does not occur on Unix.
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[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)]
|
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub enum Component<'a> {
|
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.
|
/// Does not occur on Unix.
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
Loading…
Reference in New Issue
Block a user