]> git.lizzy.rs Git - rust.git/commitdiff
Fix capitalisation in Path#file_name's docs
authorDale Wijnand <344610+dwijnand@users.noreply.github.com>
Sat, 24 Feb 2018 12:31:03 +0000 (12:31 +0000)
committerGitHub <noreply@github.com>
Sat, 24 Feb 2018 12:31:03 +0000 (12:31 +0000)
src/libstd/path.rs

index e03a182653e5a451810c99820ed16ea8b1de4fe5..4bbad30a5a3152cac16732144274c154196b6bf1 100644 (file)
@@ -1825,7 +1825,7 @@ pub fn parent(&self) -> Option<&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
     ///