mirror of
https://github.com/golang/go
synced 2024-11-26 07:17:59 -07:00
cmd/compile: fix typo in comment
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
c5430dc1d8
commit
82f914e857
@ -598,7 +598,7 @@ type State int
|
|||||||
|
|
||||||
// Rewrite rewrites all the range-over-funcs in the files.
|
// Rewrite rewrites all the range-over-funcs in the files.
|
||||||
// It returns the set of function literals generated from rangefunc loop bodies.
|
// 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 {
|
func Rewrite(pkg *types2.Package, info *types2.Info, files []*syntax.File) map[*syntax.FuncLit]bool {
|
||||||
ri := make(map[*syntax.FuncLit]bool)
|
ri := make(map[*syntax.FuncLit]bool)
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
|
Loading…
Reference in New Issue
Block a user