aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/typeparam.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/typeparam.go')
-rw-r--r--src/go/types/typeparam.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/go/types/typeparam.go b/src/go/types/typeparam.go
index 8c18b52a9a..a3d60c1648 100644
--- a/src/go/types/typeparam.go
+++ b/src/go/types/typeparam.go
@@ -98,7 +98,6 @@ func (tps *TypeParams) Len() int {
}
// At returns the i'th type parameter in the list.
-// It is safe to call on a nil receiver.
func (tps *TypeParams) At(i int) *TypeName {
return tps.list()[i]
}