diff --git a/src/interface-receiver.md b/src/interface-receiver.md index e0102d68..54584886 100644 --- a/src/interface-receiver.md +++ b/src/interface-receiver.md @@ -3,7 +3,7 @@ Methods with value receivers can be called on pointers as well as values. Methods with pointer receivers can only be called on pointers or [addressable values]. - [addressable values]: https://go.dev/ref/spec#Method_values + [addressable values]: https://go.dev/ref/spec#Address_operators For example, diff --git a/style.md b/style.md index 21a1733a..d0073737 100644 --- a/style.md +++ b/style.md @@ -200,7 +200,7 @@ func (h LogHandler) ServeHTTP( ### Receivers and Interfaces Methods with value receivers can be called on pointers as well as values. -Methods with pointer receivers can only be called on pointers or [addressable values](https://go.dev/ref/spec#Method_values). +Methods with pointer receivers can only be called on pointers or [addressable values](https://go.dev/ref/spec#Address_operators). For example,