auto merge of #18460 : gamazeps/rust/issue18451, r=steveklabnik
Closes #18451
This commit is contained in:
@@ -1526,7 +1526,7 @@ pub trait StrSlice for Sized? {
|
|||||||
/// ```
|
/// ```
|
||||||
fn ends_with(&self, needle: &str) -> bool;
|
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
|
/// # Arguments
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user