Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 13460de

Browse files
committedJun 12, 2013
std: fix method renaming.
1 parent eecbe55 commit 13460de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/libstd/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl CharEq for extern "Rust" fn(char) -> bool {
258258
impl<'self, C: CharEq> CharEq for &'self [C] {
259259
#[inline(always)]
260260
fn matches(&self, c: char) -> bool {
261-
self.iter().any(|m| m.matches(c))
261+
self.iter().any_(|m| m.matches(c))
262262
}
263263

264264
fn only_ascii(&self) -> bool {

4 commit comments

Comments
 (4)

bors commented on Jun 12, 2013

@bors
Collaborator

saw approval from thestinger
at huonw@13460de

bors commented on Jun 12, 2013

@bors
Collaborator

merging huonw/rust/more-str = 13460de into auto

bors commented on Jun 12, 2013

@bors
Collaborator

huonw/rust/more-str = 13460de merged ok, testing candidate = 0d8fbee4

bors commented on Jun 12, 2013

@bors
Collaborator
Please sign in to comment.