interp: fix Clone documentation

This commit is contained in:
mpl
2021-09-14 12:30:13 +02:00
committed by GitHub
parent bd9a6a4f8a
commit e7c0f68bab

View File

@@ -1608,7 +1608,7 @@ type refTypeContext struct {
rebuilding bool
}
// Clone creates a copy if the ref type context without the `needsRebuild` set.
// Clone creates a copy of the ref type context.
func (c *refTypeContext) Clone() *refTypeContext {
return &refTypeContext{defined: c.defined, refs: c.refs, rebuilding: c.rebuilding}
}