On Windows, when running
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
On Windows, when running
the
pathget overridden, which is a strange behavior becausePath::new("C:").is_relative()is true.And https://doc.rust-lang.org/std/path/struct.Path.html#method.join is telling :