diff options
| author | gamazeps <gamaz3ps@gmail.com> | 2014-10-30 19:00:47 +0100 |
|---|---|---|
| committer | gamazeps <gamaz3ps@gmail.com> | 2014-10-30 19:00:47 +0100 |
| commit | bd9c18125fb4c4e7b33408edb22dadf9ee73c449 (patch) | |
| tree | a694dbcf622f390c3bf3c54a9b06b61dd6b7adc0 | |
| parent | 00cc6d24099eb93ecfeb9bf807ab9e5130a01749 (diff) | |
| download | rust-bd9c18125fb4c4e7b33408edb22dadf9ee73c449.tar.gz rust-bd9c18125fb4c4e7b33408edb22dadf9ee73c449.zip | |
Doc: Clears up trim_char doc
Closes #18451
| -rw-r--r-- | src/libcore/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs index e8cd93ba7dc..d42d2006cff 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -1535,7 +1535,7 @@ pub trait StrSlice<'a> { /// ``` 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 /// |
