Given a std::collection::HashMap with the following signature:
let map: HashMap<(String, String), i32>;
How to avoid moving the members of the tuple (String, String) when looking-up values using the get() method?
let foo = "ABC".to_string();
let bar = "XYZ".to_string();
map.get(&(foo, bar));
// Cannot use either foo or bar here because they were moved with get()
// call above. Is there a way?