mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Loosen bound on VecMap from-iterator
This commit is contained in:
parent
6dc86513a1
commit
265c1c058f
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ impl<K, V> ExactSizeIterator for IntoIter<K, V> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<K: Ord, V> std::iter::FromIterator<(K, V)> for VecMap<K, V> {
|
||||
impl<K: PartialEq, V> std::iter::FromIterator<(K, V)> for VecMap<K, V> {
|
||||
fn from_iter<T: IntoIterator<Item = (K, V)>>(iter: T) -> Self {
|
||||
let mut this = Self::default();
|
||||
this.extend(iter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue