commit | 2bad7735b745a33f066036e6302460e1b9b8a17b | [log] [tgz] |
---|---|---|
author | Robert Findley <rfindley@google.com> | Mon Aug 30 09:01:04 2021 -0400 |
committer | Robert Findley <rfindley@google.com> | Mon Aug 30 13:04:08 2021 +0000 |
tree | ed57bd2adb4ba2da9f3542e86ab99aa1e9506210 | |
parent | 18a0d33bf16d58cf9631acb2686a3926e2cb2ee2 [diff] |
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>
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 @@ ```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 { /* ... */ }