optimize: iclm example ui

This commit is contained in:
singchia
2024-05-08 16:35:49 +08:00
parent 462174d70d
commit 9d48c232dd
12 changed files with 164 additions and 124 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func (bm *BiMap) Set(key, value any) {
bm.kv[key] = value
ks, ok := bm.vk[value]
if ok {
if !ok {
ks = map[any]struct{}{}
}
ks[key] = struct{}{}