mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-26 04:56:06 +00:00
fix(go): fix go code , refer to @joengtou @wcig @shenjq (#992)
This commit is contained in:
@@ -88,6 +88,7 @@ func (m *hashMapOpenAddressing) put(key int, val string) {
|
||||
// 若遇到指定 key ,则更新对应 val
|
||||
if m.buckets[j].key == key {
|
||||
m.buckets[j].val = val
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user