Doc: Clears up trim_char doc

Closes #18451
This commit is contained in:
gamazeps 2014-10-30 19:00:47 +01:00
parent 00cc6d2409
commit bd9c18125f

View File

@ -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
///