std: Iterator.len_ -> .len
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user