Skip to content

Commit acc8ec0

Browse files
committed
Issue #34076: Removing reference to removed path.prefix() function
1 parent c2b56fb commit acc8ec0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/path.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,8 +1443,7 @@ impl Path {
14431443
/// `is_absolute` and `has_root` are equivalent.
14441444
///
14451445
/// * On Windows, a path is absolute if it has a prefix and starts with the
1446-
/// root: `c:\windows` is absolute, while `c:temp` and `\temp` are not. In
1447-
/// other words, `path.is_absolute() == path.prefix().is_some() && path.has_root()`.
1446+
/// root: `c:\windows` is absolute, while `c:temp` and `\temp` are not.
14481447
///
14491448
/// # Examples
14501449
///

0 commit comments

Comments
 (0)