Skip to content

Commit

Permalink
Rollup merge of rust-lang#48499 - dwijnand:patch-1, r=BurntSushi
Browse files Browse the repository at this point in the history
Fix capitalisation in Path#file_name's docs
  • Loading branch information
Manishearth authored Feb 24, 2018
2 parents 9523c82 + e3e1c8f commit 0a72101
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 0a72101

Please sign in to comment.