Removed many pointless calls to *iter() and iter_mut()
This commit is contained in:
parent
d8a9570154
commit
ca7418b846
117 changed files with 292 additions and 294 deletions
|
@ -226,7 +226,7 @@ impl AsciiExt for [u8] {
|
|||
#[inline]
|
||||
fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool {
|
||||
self.len() == other.len() &&
|
||||
self.iter().zip(other.iter()).all(|(a, b)| {
|
||||
self.iter().zip(other).all(|(a, b)| {
|
||||
a.eq_ignore_ascii_case(b)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue