Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not abuse PathBuf::push("") for appending directory separator
Since rust-lang/rust#89270 rust's pathbuf push() normalizes the path if it is a verbatim path, so that the result is still a valid verbatim path. This involves parsing reconstructing the path. Appending a path separator using push("") will no longer work, and if it did, it would be very inefficient. rust-lang/rust#89658 Signed-off-by: Sean Young <[email protected]>
- Loading branch information