std: fix method renaming.

This commit is contained in:
Huon Wilson 2013-06-12 13:09:02 +10:00
parent eecbe5556b
commit 13460de61c
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ impl CharEq for extern "Rust" fn(char) -> bool {
impl<'self, C: CharEq> CharEq for &'self [C] {
#[inline(always)]
fn matches(&self, c: char) -> bool {
self.iter().any(|m| m.matches(c))
self.iter().any_(|m| m.matches(c))
}
fn only_ascii(&self) -> bool {