Contact: aviboots(AT)netvision.net.il
39,939 questions
51,876 answers
573 users
use std::collections::HashSet; fn main() { let mut hs = HashSet::new(); hs.insert("Rust"); hs.insert("C"); hs.insert("C"); hs.insert("C++"); hs.insert("C"); println!("{:?}", hs); } /* run: {"C++", "C", "Rust"} */