6 lines
162 B
Rust
6 lines
162 B
Rust
|
use std::collections::HashMap;
|
||
|
fn intersect_map<K, V>(this: &mut HashMap<K, V>, other: HashMap<K, V>) -> bool {
|
||
|
this.drain()
|
||
|
//~^ ERROR no method named
|
||
|
}
|