x/model: fix typo

This commit is contained in:
Blake Mizerany 2024-04-04 16:18:14 -07:00
parent 0c46151700
commit 805a92e6f2

View File

@ -65,7 +65,7 @@ type Name struct {
var mapHashSeed = maphash.MakeSeed()
// MapHash returns a case insensitive hash for use in maps and equality
// checks. For a convienent way to compare names, use [EqualFold].
// checks. For a convienent way to compare names, use [Name.EqualFold].
func (r Name) MapHash() uint64 {
// correctly hash the parts with case insensitive comparison
var h maphash.Hash