-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
On Windows, when running
path.join("C:")the path get overridden, which is a strange behavior because Path::new("C:").is_relative() is true.
And https://doc.rust-lang.org/std/path/struct.Path.html#method.join is telling :
If path is absolute, it replaces the current path
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.