Cleared 2m ago · NatLabRockies/routee-compass #340 · Rust · ★ 28 · BSD-3-Clause

CompactOrderedHashMap::contains_key with String keys cannot be called with &str

A CompactOrderedHashMap<String, _> has a contains_key method that expects a &String. this means we cannot call method with a &str: if map.contains_key("foo") // error! if map.contains_key(&"foo".to_string()) // works but requires constructing a new object We should review the…

What we checked

Similar unclaimed issues