aboutsummaryrefslogtreecommitdiff
path: root/go/types/typeutil/methodsetcache.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/types/typeutil/methodsetcache.go')
-rw-r--r--go/types/typeutil/methodsetcache.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/go/types/typeutil/methodsetcache.go b/go/types/typeutil/methodsetcache.go
index 32084610f..a5d931083 100644
--- a/go/types/typeutil/methodsetcache.go
+++ b/go/types/typeutil/methodsetcache.go
@@ -25,7 +25,6 @@ type MethodSetCache struct {
// If cache is nil, this function is equivalent to types.NewMethodSet(T).
// Utility functions can thus expose an optional *MethodSetCache
// parameter to clients that care about performance.
-//
func (cache *MethodSetCache) MethodSet(T types.Type) *types.MethodSet {
if cache == nil {
return types.NewMethodSet(T)