Skip to content

Commit

Permalink
Fix some deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Nov 15, 2014
1 parent 18a5ecc commit af2dd53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phf/tests/test.rs
Expand Up @@ -37,8 +37,8 @@ mod map {
"bar" => 11,
);
let hash = MAP.entries().map(|&e| e).collect::<HashMap<_, int>>();
assert!(Some(&10) == hash.find(&("foo")));
assert!(Some(&11) == hash.find(&("bar")));
assert!(Some(&10) == hash.get(&("foo")));
assert!(Some(&11) == hash.get(&("bar")));
assert_eq!(2, hash.len());
}

Expand Down

0 comments on commit af2dd53

Please sign in to comment.