Treat complete Windows UNC prefixes as absolute paths#62
Conversation
|
@dlenski good catch! Seems like there's a minor nitpick in clippy about using Outside of that, wondering out loud if we need to also add more tests for |
I justify this in chipsenkbeil#61, specifically: > `\\some.server\share` should be considered equivalent to > `\\some.server\share\`, with `.is_absolute()` being `true` regardless of > whether or not the final `\` is included. In the same way that > `C:\whatever` and `C:\whatever\` are equivalent when `.join`ing or > `.push`ing further path components.
Fixed, and
Yeah. As you can see, I added a couple of relevant doctests, but I do think that more Windows-specific tests for path-joining and absolutizing would be useful, given the many strange aspects of Windows paths. |
I justify this in #61, specifically: