Skip to content

Commit

Permalink
Fix capitalisation in Path#file_name's docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand authored Feb 24, 2018
1 parent 6070d3e commit e3e1c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ impl Path {
/// If the path is a normal file, this is the file name. If it's the path of a directory, this
/// is the directory name.
///
/// Returns [`None`] If the path terminates in `..`.
/// Returns [`None`] if the path terminates in `..`.
///
/// [`None`]: ../../std/option/enum.Option.html#variant.None
///
Expand Down

0 comments on commit e3e1c8f

Please sign in to comment.