Skip to content

Commit 13460de

Browse files
committed
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

+1-1
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 {

0 commit comments

Comments
 (0)