diff options
| author | Brian Anderson <[email protected]> | 2011-03-15 18:45:56 -0400 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-22 08:11:34 -0700 |
| commit | 92a716d862d92d3cc52a400457d2c3900d0c57a2 (patch) | |
| tree | 4d861a4ee4790723593e3be26d73902aa1f35d02 /src/lib/map.rs | |
| parent | Add a cleanup to trans_send. Express further confusion about cleanups in tran... (diff) | |
| download | rust-92a716d862d92d3cc52a400457d2c3900d0c57a2.tar.xz rust-92a716d862d92d3cc52a400457d2c3900d0c57a2.zip | |
Remove usages of case(_) { fail; } since the compiler does this automatically
Diffstat (limited to 'src/lib/map.rs')
| -rw-r--r-- | src/lib/map.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/map.rs b/src/lib/map.rs index f22faaca..d8e24314 100644 --- a/src/lib/map.rs +++ b/src/lib/map.rs @@ -176,7 +176,6 @@ fn mk_hashmap[K, V](&hashfn[K] hasher, &eqfn[K] eqer) -> hashmap[K, V] { fn get(&K key) -> V { alt (find_common[K, V](hasher, eqer, bkts, nbkts, key)) { case (option.some[V](?val)) { ret val; } - case (_) { fail; } } fail; // FIXME: remove me when exhaustiveness checking works } |