Link: https://doc.rust-lang.org/std/path/struct.Path.html
One example:
"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()."
This should be reworded to avoid using prefix(), which has since been removed.
Link: https://doc.rust-lang.org/std/path/struct.Path.html
One example:
"On Windows, a path is absolute if it has a prefix and starts with the root:
c:\windowsis absolute, whilec:tempand\tempare not. In other words,path.is_absolute() == path.prefix().is_some() && path.has_root()."This should be reworded to avoid using
prefix(), which has since been removed.