mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
+1
-1
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user