Fix capitalisation in Path#file_name's docs

This commit is contained in:
Dale Wijnand
2018-02-24 12:31:03 +00:00
committed by GitHub
parent 6070d3e47e
commit e3e1c8f7d2

View File

@@ -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
///