From 4b674100b8b0b3fbbb67523a00fcf841226615ce Mon Sep 17 00:00:00 2001 From: HongboZhang Date: Tue, 19 Mar 2024 18:06:58 +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 b07cce777..bd7aef43a 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 + Show, V : Show](self : Map[K, V], key : K) -> Bool { +pub fn member[K : Compare, V : Show](self : Map[K, V], key : K) -> Bool { loop self { Empty => false Tree(k, _, _, l, r) => {