d9e2259d65
Notably, hash iterators don't require any trait bounds to be iterated.
9 lines
170 B
Rust
9 lines
170 B
Rust
use std::collections::HashSet;
|
|
|
|
fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool {
|
|
this.is_subset(other)
|
|
//~^ ERROR no method named
|
|
}
|
|
|
|
fn main() {}
|