Skip to content

Commit 8e6a8d9

Browse files
marongheALTree
authored andcommitted
runtime: fix typo in loadFactor comment
Fixes #38174 Change-Id: Iacdbbcd0b4586302daf082e59d833b7aa58b1a6a GitHub-Last-Rev: f0c9681 GitHub-Pull-Request: #38191 Reviewed-on: https://go-review.googlesource.com/c/go/+/226758 Reviewed-by: Alberto Donizetti <[email protected]>
1 parent e985046 commit 8e6a8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const (
6666
bucketCnt = 1 << bucketCntBits
6767

6868
// Maximum average load of a bucket that triggers growth is 6.5.
69-
// Represent as loadFactorNum/loadFactDen, to allow integer math.
69+
// Represent as loadFactorNum/loadFactorDen, to allow integer math.
7070
loadFactorNum = 13
7171
loadFactorDen = 2
7272

0 commit comments

Comments
 (0)