Skip to content

Commit f46235e

Browse files
committed
rollup merge of #18460 : gamazeps/issue18451
2 parents 3f6b94f + bd9c181 commit f46235e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ pub trait StrSlice for Sized? {
15361536
/// ```
15371537
fn ends_with(&self, needle: &str) -> bool;
15381538

1539-
/// Returns a string with characters that match `to_trim` removed.
1539+
/// Returns a string with characters that match `to_trim` removed from the left and the right.
15401540
///
15411541
/// # Arguments
15421542
///

0 commit comments

Comments
 (0)