]> Cypherpunks repositories - gostls13.git/commitdiff
unique: fix typo
authorKoichi Shiraishi <zchee.io@gmail.com>
Sat, 28 Dec 2024 05:05:38 +0000 (14:05 +0900)
committerGopher Robot <gobot@golang.org>
Mon, 30 Dec 2024 16:59:20 +0000 (08:59 -0800)
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>
src/unique/handle.go

index 46f2da3ddcbd95b0c2447e7a8575addbb291014d..520ab70f8c7d83c13002e347f68b862fed4432cb 100644 (file)
@@ -89,7 +89,7 @@ func Make[T comparable](value T) Handle[T] {
 }
 
 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"
        // as its key type, but the issue is escape analysis. We do not want to force lookups