about summary refs log tree commit diff
path: root/src/libstd/str.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-06-12 13:09:02 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-06-12 13:09:02 +1000
commit13460de61c7fc81fc82ca003ac35dc49ddc0d6b4 (patch)
tree9af6ba170132267d4ed49b29e9cd6adbc47d7b17 /src/libstd/str.rs
parenteecbe5556b96aa5546ede9454483a53b25d3380a (diff)
downloadrust-13460de61c7fc81fc82ca003ac35dc49ddc0d6b4.tar.gz
rust-13460de61c7fc81fc82ca003ac35dc49ddc0d6b4.zip
std: fix method renaming.
Diffstat (limited to 'src/libstd/str.rs')
-rw-r--r--src/libstd/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs
index 0a61059cb39..fdf12d406e8 100644
--- a/src/libstd/str.rs
+++ b/src/libstd/str.rs
@@ -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 {