about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-08-11 13:26:47 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-08-11 16:48:02 +0530
commit1bcbeb21a3dc974f4a699eff4df468f64c717712 (patch)
tree332fa2274774c5abb20d265b312585ccd32664be
parent2fdfe092753a0b257510bdff53035f7ec14e545d (diff)
parent3b686a3ffb49a0d28bf3fee9cb922ff0a9f58c8a (diff)
downloadrust-1bcbeb21a3dc974f4a699eff4df468f64c717712.tar.gz
rust-1bcbeb21a3dc974f4a699eff4df468f64c717712.zip
Rollup merge of #27633 - tshepang:patch-6, r=alexcrichton
-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 c3a887cbcb8..5b456b580e5 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -965,7 +965,7 @@ impl PathBuf {
     ///
     /// * if `path` has a root but no prefix (e.g. `\windows`), it
     ///   replaces everything except for the prefix (if any) of `self`.
-    /// * if `path` has a prefix but no root, it replaces `self.
+    /// * if `path` has a prefix but no root, it replaces `self`.
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn push<P: AsRef<Path>>(&mut self, path: P) {
         let path = path.as_ref();