aboutsummaryrefslogtreecommitdiff
path: root/lib/hashset.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-03-30 11:15:40 +0200
committerPierre-Marie Pédrot2016-03-30 11:18:41 +0200
commit5b412e9968d93f6f52ed738fd01a74e7021d1dd4 (patch)
tree61190a49e43a750a4147b2b748ae78fb0e21374b /lib/hashset.ml
parentd670c6b6ceab80f1c3b6b74ffb53579670c0e621 (diff)
parentdc36fd7fe118136277d8dc525c528fef38b46d70 (diff)
Merge branch 'v8.5'
Diffstat (limited to 'lib/hashset.ml')
-rw-r--r--lib/hashset.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hashset.ml b/lib/hashset.ml
index b2795c6b1f..af33544dc6 100644
--- a/lib/hashset.ml
+++ b/lib/hashset.ml
@@ -16,7 +16,7 @@
module type EqType = sig
type t
- val equal : t -> t -> bool
+ val eq : t -> t -> bool
end
type statistics = {
@@ -183,7 +183,7 @@ module Make (E : EqType) =
if i >= sz then ifnotfound index
else if h = hashes.(i) then begin
match Weak.get bucket i with
- | Some v when E.equal v d -> v
+ | Some v when E.eq v d -> v
| _ -> loop (i + 1)
end else loop (i + 1)
in