std: Iterator.len_ -> .len

This commit is contained in:
Erick Tryzelaar
2013-08-09 20:30:03 -07:00
parent 74d2552b0a
commit f9dee04aaa
5 changed files with 14 additions and 15 deletions

View File

@@ -1593,7 +1593,7 @@ impl<'self> StrSlice<'self> for &'self str {
/// Returns the number of characters that a string holds
#[inline]
fn char_len(&self) -> uint { self.iter().len_() }
fn char_len(&self) -> uint { self.iter().len() }
/// Returns a slice of the given string from the byte range
/// [`begin`..`end`)