diff options
author | maronghe <loganma0209@gmail.com> | 2020-04-01 07:15:49 +0000 |
---|---|---|
committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2020-04-01 07:21:05 +0000 |
commit | 8e6a8d9e282a6f9aeab5635c75c223129f5ab61f (patch) | |
tree | dbf5da95eb4b46decd450a58e33acf6c5300247c /src/runtime/map.go | |
parent | e9850462aa1e35d92ff428915df7bb0c9e79df81 (diff) | |
download | go-8e6a8d9e282a6f9aeab5635c75c223129f5ab61f.tar.gz go-8e6a8d9e282a6f9aeab5635c75c223129f5ab61f.zip |
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 <alb.donizetti@gmail.com>
Diffstat (limited to 'src/runtime/map.go')
-rw-r--r-- | src/runtime/map.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |