Skip to content

Commit

Permalink
design/47916-parameterized-go-types.md: fix typo in TParamList methods
Browse files Browse the repository at this point in the history
As pointed out at:
golang/go#47916 (comment)

Fix the receiver for TParamList methods.

Change-Id: Ic26e859a0830447c2926828e29d5f27bf2c5637f
Reviewed-on: https://go-review.googlesource.com/c/proposal/+/346089
Reviewed-by: Robert Findley <rfindley@google.com>
  • Loading branch information
findleyr committed Aug 30, 2021
1 parent 18a0d33 commit 2bad773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions design/47916-parameterized-go-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Type parameters are considered identical (as reported by the `Identical` functio
```go
type TParamList struct { /* ... */ }

func (*TypeList) Len() int
func (*TypeList) At(i int) *TypeParam
func (*TParamList) Len() int
func (*TParamList) At(i int) *TypeParam

type TypeList struct { /* ... */ }

Expand Down

0 comments on commit 2bad773

Please sign in to comment.