Skip to content
Snippets Groups Projects
Unverified Commit 1ac07c22 authored by Acha Bill's avatar Acha Bill Committed by GitHub
Browse files

Update packages/binary/datastructure/random_map.go

parent 16962f1c
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ func (rmap *RandomMap) Delete(key interface{}) (result interface{}, exists bool) ...@@ -112,7 +112,7 @@ func (rmap *RandomMap) Delete(key interface{}) (result interface{}, exists bool)
return return
} }
// Size returns the number of of key-value mappings in the map. // Size returns the number of key-value mappings in the map.
func (rmap *RandomMap) Size() (result int) { func (rmap *RandomMap) Size() (result int) {
rmap.mutex.RLock() rmap.mutex.RLock()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment