Guest User

Untitled

a guest
Apr 25th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. use std::collections::HashMap;
  2.  
  3. struct Foo(u32);
  4.  
  5. fn main() {
  6. let mut hash_map = HashMap::new();
  7.  
  8. hash_map.insert(Foo(100), "Hello");
  9. }
Add Comment
Please, Sign In to add comment