Contact: aviboots(AT)netvision.net.il
41,604 questions
54,252 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"} */