Skip to content

Commit e3e1c8f

Browse files
authored
Fix capitalisation in Path#file_name's docs
1 parent 6070d3e commit e3e1c8f

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)