parent
00cc6d2409
commit
bd9c18125f
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user