x/model: fix typo
This commit is contained in:
parent
0c46151700
commit
805a92e6f2
@ -65,7 +65,7 @@ type Name struct {
|
|||||||
var mapHashSeed = maphash.MakeSeed()
|
var mapHashSeed = maphash.MakeSeed()
|
||||||
|
|
||||||
// MapHash returns a case insensitive hash for use in maps and equality
|
// 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 {
|
func (r Name) MapHash() uint64 {
|
||||||
// correctly hash the parts with case insensitive comparison
|
// correctly hash the parts with case insensitive comparison
|
||||||
var h maphash.Hash
|
var h maphash.Hash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user