Skip to content

Commit

Permalink
Update addressable href links to target valid anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
empire committed Jun 29, 2024
1 parent 27820cf commit 8d7a048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interface-receiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down
2 changes: 1 addition & 1 deletion style.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit 8d7a048

Please sign in to comment.