Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blog: clarify what is meant by equality in article
The blog article https://go.dev/blog/go1.13-errors explains when package errors use a user-authored Is method on an error. It does this in the context of error value equality. Because errors are often implemented as pointer values (and receivers), which may have non-obvious semantics to newcomers, this presents a good opportunity to remind the reader what equality means in such cases. This commit is largely cosmetic and provides a link back to the relevant part of the language specification. Change-Id: I0e312fa1385e7caa9944eaff4ac788c91c3294dd Reviewed-on: https://go-review.googlesource.com/c/website/+/358354 Reviewed-by: Jean de Klerk <[email protected]> Reviewed-by: Damien Neil <[email protected]> Trust: Jean de Klerk <[email protected]> Run-TryBot: Jean de Klerk <[email protected]> TryBot-Result: Go Bot <[email protected]>
- Loading branch information