summaryrefslogtreecommitdiff
path: root/lib/hashtbl_alt.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashtbl_alt.ml')
-rw-r--r--lib/hashtbl_alt.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashtbl_alt.ml b/lib/hashtbl_alt.ml
index 2780afe8..bb2252da 100644
--- a/lib/hashtbl_alt.ml
+++ b/lib/hashtbl_alt.ml
@@ -89,7 +89,7 @@ module Make (E : Hashtype) =
match rest2 with
| Empty -> add hash key; key
| Cons (k3, h3, rest3) ->
- if hash == h2 && E.equals key k3 then k3
+ if hash == h3 && E.equals key k3 then k3
else find_rec hash key rest3
end