This behavior is part of [spec](https://github.com/rust-lang/rfcs/blob/master/text/0474-path-reform.md#summary). https://github.com/rust-lang/rust/pull/23229 This makes the following code https://github.com/hyf0/sugar_path/blob/41fce88b6161694b1b533020a49e675ccb0f77d8/src/utils.rs#L29-L31 unreliable for detecting whether the dots are resolved.