From 084b630ca8e0e8f87a7ee90f6e0c3f4632b6a714 Mon Sep 17 00:00:00 2001 From: HongboZhang Date: Fri, 22 Mar 2024 09:52:48 +0800 Subject: [PATCH] remove unused bounds --- map/map.mbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {