about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-06 09:04:07 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-06 22:22:32 +0530
commit55087e78fa344639576d3f96b238a0f0ac646c2a (patch)
treea8eec1bbcde73d856319b5ba1086a808432a696c
parent417639885c50a24f8dbeb67b4d954123386180a7 (diff)
parentb1e0dfb25c5a3878a27eb3cc15606306f2d3a7bd (diff)
downloadrust-55087e78fa344639576d3f96b238a0f0ac646c2a.tar.gz
rust-55087e78fa344639576d3f96b238a0f0ac646c2a.zip
Rollup merge of #23045 - ctjhoa:master, r=Manishearth
 r? @steveklabnik
-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 b85a0dcec81..4fd263f96c4 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -1193,7 +1193,7 @@ impl Path {
         iter_after(self.components(), base.as_path().components()).is_some()
     }
 
-    /// Determines whether `base` is a suffix of `self`.
+    /// Determines whether `child` is a suffix of `self`.
     pub fn ends_with<P: ?Sized>(&self, child: &P) -> bool where P: AsPath {
         iter_after(self.components().rev(), child.as_path().components().rev()).is_some()
     }