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.
1 parent 6ecad33 commit f282f6bCopy full SHA for f282f6b
src/libstd/path.rs
@@ -2202,6 +2202,8 @@ impl Path {
2202
/// beginning of the path. For example, `a/./b`, `a/b/`, `a/b/.` and
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`
0 commit comments