From f0c96819ebb9928879a03957244f2de655708cbb Mon Sep 17 00:00:00 2001 From: maronghe Date: Wed, 1 Apr 2020 13:56:34 +0800 Subject: [PATCH] fix misspells loadFactorDen variable name --- src/runtime/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/map.go b/src/runtime/map.go index e456c32556..399c1b071f 100644 --- a/src/runtime/map.go +++ b/src/runtime/map.go @@ -66,7 +66,7 @@ const ( bucketCnt = 1 << bucketCntBits // Maximum average load of a bucket that triggers growth is 6.5. - // Represent as loadFactorNum/loadFactDen, to allow integer math. + // Represent as loadFactorNum/loadFactorDen, to allow integer math. loadFactorNum = 13 loadFactorDen = 2