1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:07:59 -07:00

cmd/compile: fix typo in comment

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-07-24 14:50:36 +08:00
parent c5430dc1d8
commit 82f914e857
No known key found for this signature in database
GPG Key ID: E85F4CC0A5161CB2

View File

@ -598,7 +598,7 @@ type State int
// Rewrite rewrites all the range-over-funcs in the files.
// It returns the set of function literals generated from rangefunc loop bodies.
// This allows for rangefunc loop bodies to be distingushed by debuggers.
// This allows for rangefunc loop bodies to be distinguished by debuggers.
func Rewrite(pkg *types2.Package, info *types2.Info, files []*syntax.File) map[*syntax.FuncLit]bool {
ri := make(map[*syntax.FuncLit]bool)
for _, file := range files {