mirror of
https://github.com/golang/go
synced 2024-11-23 14:30:02 -07:00
ba6fe5172d
The example text below suggests that []byte("") always evaluates to the non-nil value []byte{}, but the text proper doesn't explicitly require that. This CL makes it clear that it must not evaluate to []byte(nil), which otherwise was allowed by the wording. Change-Id: I6564bfd5e2fd0c820d9b55d17406221ff93ce80c Reviewed-on: https://go-review.googlesource.com/c/go/+/521035 Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> |
||
---|---|---|
.. | ||
asm.html | ||
go1.17_spec.html | ||
go1.22.html | ||
go_mem.html | ||
go_spec.html | ||
godebug.md |