From 2bad7735b745a33f066036e6302460e1b9b8a17b Mon Sep 17 00:00:00 2001 From: Robert Findley Date: Mon, 30 Aug 2021 09:01:04 -0400 Subject: [PATCH] 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 --- design/47916-parameterized-go-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/design/47916-parameterized-go-types.md b/design/47916-parameterized-go-types.md index 2c195afb..8c1cfc73 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 { /* ... */ }