diff --git a/map/map.mbt b/map/map.mbt index f8f745628..6682c9dc9 100644 --- a/map/map.mbt +++ b/map/map.mbt @@ -47,7 +47,7 @@ pub fn singleton[K, V](key : K, value : V) -> Map[K, V] { /// Check if the map contains a key. /// O(log n). -pub fn member[K : Compare, V : Show](self : Map[K, V], key : K) -> Bool { +pub fn member[K : Compare, V](self : Map[K, V], key : K) -> Bool { loop self { Empty => false Tree(k, _, _, l, r) => {