Rollup merge of #48499 - dwijnand:patch-1, r=BurntSushi

Fix capitalisation in Path#file_name's docs
This commit is contained in:
Manish Goregaokar 2018-02-24 15:52:19 -08:00 committed by GitHub
commit 0a7210166e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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