Skip to content

Commit 01b81c0

Browse files
committed
auto merge of #18460 : gamazeps/rust/issue18451, r=steveklabnik
Closes #18451
2 parents 2790505 + bd9c181 commit 01b81c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ pub trait StrSlice for Sized? {
15261526
/// ```
15271527
fn ends_with(&self, needle: &str) -> bool;
15281528

1529-
/// Returns a string with characters that match `to_trim` removed.
1529+
/// Returns a string with characters that match `to_trim` removed from the left and the right.
15301530
///
15311531
/// # Arguments
15321532
///

0 commit comments

Comments
 (0)