diff options
| author | Robert Findley <rfindley@google.com> | 2021-08-30 09:01:04 -0400 |
|---|---|---|
| committer | Robert Findley <rfindley@google.com> | 2021-08-30 13:04:08 +0000 |
| commit | 2bad7735b745a33f066036e6302460e1b9b8a17b (patch) | |
| tree | ed57bd2adb4ba2da9f3542e86ab99aa1e9506210 | |
| parent | 18a0d33bf16d58cf9631acb2686a3926e2cb2ee2 (diff) | |
| download | go-x-proposal-2bad7735b745a33f066036e6302460e1b9b8a17b.tar.xz | |
design/47916-parameterized-go-types.md: fix typo in TParamList methods
As pointed out at:
https://github.com/golang/go/issues/47916#issuecomment-908103163
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>
| -rw-r--r-- | design/47916-parameterized-go-types.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/47916-parameterized-go-types.md b/design/47916-parameterized-go-types.md index 2c195af..8c1cfc7 100644 --- a/design/47916-parameterized-go-types.md +++ b/design/47916-parameterized-go-types.md @@ -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 { /* ... */ } |
