about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDale Wijnand <344610+dwijnand@users.noreply.github.com>2018-02-24 12:31:03 +0000
committerGitHub <noreply@github.com>2018-02-24 12:31:03 +0000
commite3e1c8f7d288b130a37b310135b19f314f4601e3 (patch)
treec1c37769544cc74f93c4c4ed47e1f59c4dea0488
parent6070d3e47e5e9f15575a3bd33583358b52bc6eda (diff)
downloadrust-e3e1c8f7d288b130a37b310135b19f314f4601e3.tar.gz
rust-e3e1c8f7d288b130a37b310135b19f314f4601e3.zip
Fix capitalisation in Path#file_name's docs
-rw-r--r--src/libstd/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index e03a182653e..4bbad30a5a3 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -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
     ///