]> Cypherpunks repositories - gostls13.git/commit
builtin: document clear is a no-op if its argument's value is nil
authorapocelipes <seve3r@outlook.com>
Thu, 12 Dec 2024 09:45:09 +0000 (09:45 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 12 Dec 2024 15:43:21 +0000 (07:43 -0800)
commit9118060040ab7af4d384c2c1e2862673e2bbb8c3
tree68ed44fb8ca4556085bb721cdc02cdd719ebd990
parent077d51909d3d7bc2d52afd47c9be1de8ee4f0756
builtin: document clear is a no-op if its argument's value is nil

Just like the builtin function delete's comment does.

Change-Id: Id94a3aaa03c7b09594bae2b1af901d9060d9e255
GitHub-Last-Rev: 30cbebca96d9099f67a7dfc7650357aa19d6b810
GitHub-Pull-Request: golang/go#70801
Reviewed-on: https://go-review.googlesource.com/c/go/+/635535
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
src/builtin/builtin.go