From: Robert Griesemer Date: Mon, 20 Jul 2015 21:49:14 +0000 (-0700) Subject: go/types: remove non-existing mention of MethodSetCache from comment X-Git-Tag: go1.5beta3~144 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3051ab2ce78a9bbea5152020dc81a4a18a63542a;p=gostls13.git go/types: remove non-existing mention of MethodSetCache from comment Fixes #11800. Change-Id: I5eb178331f4ae80821f188e19c0c6fadeb330278 Reviewed-on: https://go-review.googlesource.com/12433 Reviewed-by: Alan Donovan --- diff --git a/src/go/types/methodset.go b/src/go/types/methodset.go index 8aff6f9ba4..b27f2dac34 100644 --- a/src/go/types/methodset.go +++ b/src/go/types/methodset.go @@ -62,11 +62,8 @@ func (s *MethodSet) Lookup(pkg *Package, name string) *Selection { // Shared empty method set. var emptyMethodSet MethodSet -// NewMethodSet returns the method set for the given type T. It -// always returns a non-nil method set, even if it is empty. -// -// A MethodSetCache handles repeat queries more efficiently. -// +// NewMethodSet returns the method set for the given type T. +// It always returns a non-nil method set, even if it is empty. func NewMethodSet(T Type) *MethodSet { // WARNING: The code in this function is extremely subtle - do not modify casually! // This function and lookupFieldOrMethod should be kept in sync.