fix the &mut _ patterns
This commit is contained in:
parent
ed4bebda96
commit
7d72719efc
15 changed files with 23 additions and 23 deletions
|
|
@ -90,7 +90,7 @@ impl<'a, T: Copy> Iterator for Values<'a, T> {
|
|||
type Item = T;
|
||||
|
||||
fn next(&mut self) -> Option<T> {
|
||||
let &Values(ref mut items) = self;
|
||||
let &mut Values(ref mut items) = self;
|
||||
items.next().map(|&x| x)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue