about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-11-03 18:57:29 +0000
committerbors <bors@rust-lang.org>2014-11-03 18:57:29 +0000
commit01b81c0ebb45d36198fa8a78dcdcb8144e4bb06c (patch)
treec2f58b5f163b39d4501bafbfd60aee45f2613804 /src
parent2790505c19b158a5494139dba084b6af82810b96 (diff)
parentbd9c18125fb4c4e7b33408edb22dadf9ee73c449 (diff)
downloadrust-01b81c0ebb45d36198fa8a78dcdcb8144e4bb06c.tar.gz
rust-01b81c0ebb45d36198fa8a78dcdcb8144e4bb06c.zip
auto merge of #18460 : gamazeps/rust/issue18451, r=steveklabnik
Closes #18451
Diffstat (limited to 'src')
-rw-r--r--src/libcore/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index dd8c7e9660a..3b29c257872 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -1526,7 +1526,7 @@ pub trait StrSlice for Sized? {
     /// ```
     fn ends_with(&self, needle: &str) -> bool;
 
-    /// Returns a string with characters that match `to_trim` removed.
+    /// Returns a string with characters that match `to_trim` removed from the left and the right.
     ///
     /// # Arguments
     ///