pub fn canonicalize_path(path: &str) -> &str
Expand description

canonicalize_path will remove a leading / if it exists, since it’s always unnecessary and in some cases disallowed (https://fxbug.dev/42103076).