pub fn normalize_lexical(path: &Path) -> PathBuf
Lexically normalize a path — resolve . and .. without touching the filesystem (no symlink resolution), matching Node’s path.resolve on an already-absolute path.
.
..
path.resolve