瀏覽代碼

types/model: remove old comment (#4020)

Blake Mizerany 1 年之前
父節點
當前提交
7e432cdfac
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      types/model/name.go

+ 0 - 3
types/model/name.go

@@ -80,9 +80,6 @@ func (k partKind) String() string {
 //
 // It is not guaranteed to be valid. Use [Name.IsValid] to check if the name
 // is valid.
-//
-// It is not directly comparable with other Names. Use [Name.Equal] and
-// [Name.MapHash] for determining equality and using as a map key.
 type Name struct {
 	Host      string
 	Namespace string