Skip to content

Commit

Permalink
fix: Fix indexmap compatibility for yew 0.21.0 (#3659)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-ebata committed Jul 7, 2024
1 parent dbdd3b7 commit 5abbf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew/src/html/conversion/into_prop_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl<K: Eq + std::hash::Hash + ImplicitClone + 'static, V: PartialEq + ImplicitC
IntoPropValue<IMap<K, V>> for indexmap::IndexMap<K, V>
{
fn into_prop_value(self) -> IMap<K, V> {
IMap::from(self)
IMap::from_iter(self)
}
}

Expand Down

0 comments on commit 5abbf8a

Please sign in to comment.