We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0cea0d + e598ea8 commit cbe377bCopy full SHA for cbe377b
src/libstd/path.rs
@@ -2203,6 +2203,8 @@ impl Path {
2203
/// `a/b` all have `a` and `b` as components, but `./a/b` starts with
2204
/// an additional [`CurDir`] component.
2205
///
2206
+ /// * A trailing slash is normalized away, `/a/b` and `/a/b/` are equivalent.
2207
+ ///
2208
/// Note that no other normalization takes place; in particular, `a/c`
2209
/// and `a/b/../c` are distinct, to account for the possibility that `b`
2210
/// is a symbolic link (so its parent isn't `a`).
0 commit comments