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 39dc268 commit 3159feaCopy full SHA for 3159fea
library/std/src/path.rs
@@ -2453,7 +2453,7 @@ impl Path {
2453
/// If the path is a normal file, this is the file name. If it's the path of a directory, this
2454
/// is the directory name.
2455
///
2456
- /// Returns [`None`] if the path terminates in `..`.
+ /// Returns [`None`] if the path cannot be named (without accessing the filesystem)
2457
2458
/// # Examples
2459
0 commit comments