From d9fbef92fce56023180c376059ed33d1c0259e5b Mon Sep 17 00:00:00 2001 From: WeidiDeng Date: Thu, 26 Oct 2023 11:05:20 +0800 Subject: [PATCH] chore: Fix usage pool comment (#5916) --- usagepool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usagepool.go b/usagepool.go index 7007849fb..e011be961 100644 --- a/usagepool.go +++ b/usagepool.go @@ -112,7 +112,7 @@ func (up *UsagePool) LoadOrNew(key any, construct Constructor) (value any, loade // LoadOrStore loads the value associated with key from the pool if it // already exists, or stores it if it does not exist. It returns the // value that was either loaded or stored, and true if the value already -// existed and was +// existed and was loaded, false if the value didn't exist and was stored. func (up *UsagePool) LoadOrStore(key, val any) (value any, loaded bool) { var upv *usagePoolVal up.Lock()