You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use std::collections::HashMap;fnintersect_map<K,V>(this:&mutHashMap<K,V>,other:HashMap<K,V>) -> bool{
this.drain()}
reports
note: the method `drain` exists but the following trait bounds were not satisfied: `K : std::cmp::Eq`, `K : std::hash::Hash`, `K : std::cmp::Eq`, `K : std::hash::Hash`
Note how it reports about K missing necessary bounds twice.
The text was updated successfully, but these errors were encountered:
reports
Note how it reports about
K
missing necessary bounds twice.The text was updated successfully, but these errors were encountered: