diff options
Diffstat (limited to 'libgo/go/builtin/builtin.go')
-rw-r--r-- | libgo/go/builtin/builtin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/builtin/builtin.go b/libgo/go/builtin/builtin.go index a30943b894f..91d263a6234 100644 --- a/libgo/go/builtin/builtin.go +++ b/libgo/go/builtin/builtin.go @@ -124,8 +124,8 @@ func append(slice []Type, elems ...Type) []Type func copy(dst, src []Type) int // The delete built-in function deletes the element with the specified key -// (m[key]) from the map. If there is no such element, delete is a no-op. -// If m is nil, delete panics. +// (m[key]) from the map. If m is nil or there is no such element, delete +// is a no-op. func delete(m map[Type]Type1, key Type) // The len built-in function returns the length of v, according to its type: |