mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
unique: fix typo
Change-Id: I9f66e3d7aa7b546ebf34d6aa8c7a6558bf35ca82 Reviewed-on: https://go-review.googlesource.com/c/go/+/639055 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
2b794ed86c
commit
a785d11ac4
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ func Make[T comparable](value T) Handle[T] {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// uniqueMaps is an index of type-specific sync maps used for unique.Make.
|
// uniqueMaps is an index of type-specific concurrent maps used for unique.Make.
|
||||||
//
|
//
|
||||||
// The two-level map might seem odd at first since the HashTrieMap could have "any"
|
// The two-level map might seem odd at first since the HashTrieMap could have "any"
|
||||||
// as its key type, but the issue is escape analysis. We do not want to force lookups
|
// as its key type, but the issue is escape analysis. We do not want to force lookups
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue