Skip to content

Commit 0a72101

Browse files
authored
Rollup merge of #48499 - dwijnand:patch-1, r=BurntSushi
Fix capitalisation in Path#file_name's docs
2 parents 9523c82 + e3e1c8f commit 0a72101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@ impl Path {
18251825
/// If the path is a normal file, this is the file name. If it's the path of a directory, this
18261826
/// is the directory name.
18271827
///
1828-
/// Returns [`None`] If the path terminates in `..`.
1828+
/// Returns [`None`] if the path terminates in `..`.
18291829
///
18301830
/// [`None`]: ../../std/option/enum.Option.html#variant.None
18311831
///

0 commit comments

Comments
 (0)