Fix some fallout around type alias impl trait in associated types
This commit is contained in:
parent
eca0ead17d
commit
b30bcfae38
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ impl<'a, K, V> IntoIterator for &'a VecMap<K, V> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, K, V> IntoIterator for &'a mut VecMap<K, V> {
|
impl<'a, K: 'a, V: 'a> IntoIterator for &'a mut VecMap<K, V> {
|
||||||
type Item = (&'a K, &'a mut V);
|
type Item = (&'a K, &'a mut V);
|
||||||
type IntoIter = impl Iterator<Item = Self::Item>;
|
type IntoIter = impl Iterator<Item = Self::Item>;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue