From 8e6a8d9e282a6f9aeab5635c75c223129f5ab61f Mon Sep 17 00:00:00 2001 From: maronghe Date: Wed, 1 Apr 2020 07:15:49 +0000 Subject: [PATCH] runtime: fix typo in loadFactor comment Fixes #38174 Change-Id: Iacdbbcd0b4586302daf082e59d833b7aa58b1a6a GitHub-Last-Rev: f0c96819ebb9928879a03957244f2de655708cbb GitHub-Pull-Request: golang/go#38191 Reviewed-on: https://go-review.googlesource.com/c/go/+/226758 Reviewed-by: Alberto Donizetti --- 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