diff options
| author | Peter Landoll <pwlandoll@gmail.com> | 2016-06-30 18:34:12 -0400 |
|---|---|---|
| committer | Peter Landoll <pwlandoll@gmail.com> | 2016-06-30 18:34:12 -0400 |
| commit | acc8ec0d8dc467ec96fd052e0b3f5fa587c37e3f (patch) | |
| tree | cc026a6a0ba049a2772220ee887b5b0d710e7dea | |
| parent | c2b56fb7a0c24e04227318ca7e5950e9289ee3e4 (diff) | |
Issue #34076: Removing reference to removed path.prefix() function
| -rw-r--r-- | src/libstd/path.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index c103ff7f4b0..de23c58b3c1 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1443,8 +1443,7 @@ impl Path { /// `is_absolute` and `has_root` are equivalent. /// /// * On Windows, a path is absolute if it has a prefix and starts with the - /// root: `c:\windows` is absolute, while `c:temp` and `\temp` are not. In - /// other words, `path.is_absolute() == path.prefix().is_some() && path.has_root()`. + /// root: `c:\windows` is absolute, while `c:temp` and `\temp` are not. /// /// # Examples /// |
