aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/sync/map.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/sync/map.go')
-rw-r--r--libgo/go/sync/map.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/go/sync/map.go b/libgo/go/sync/map.go
index 9ad2535..dfb62dd 100644
--- a/libgo/go/sync/map.go
+++ b/libgo/go/sync/map.go
@@ -73,7 +73,8 @@ var expunged = unsafe.Pointer(new(interface{}))
type entry struct {
// p points to the interface{} value stored for the entry.
//
- // If p == nil, the entry has been deleted and m.dirty == nil.
+ // If p == nil, the entry has been deleted, and either m.dirty == nil or
+ // m.dirty[key] is e.
//
// If p == expunged, the entry has been deleted, m.dirty != nil, and the entry
// is missing from m.dirty.