mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 09:36:06 +00:00
Rollup merge of #48499 - dwijnand:patch-1, r=BurntSushi
Fix capitalisation in Path#file_name's docs
This commit is contained in:
commit
0a7210166e
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user