Skip to content

Commit

Permalink
auto merge of #18460 : gamazeps/rust/issue18451, r=steveklabnik
Browse files Browse the repository at this point in the history
Closes #18451
  • Loading branch information
bors committed Nov 3, 2014
2 parents 2790505 + bd9c181 commit 01b81c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ pub trait StrSlice for Sized? {
/// ```
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
///
Expand Down

0 comments on commit 01b81c0

Please sign in to comment.