Commit 911fd354 authored by Etienne Renault's avatar Etienne Renault

visitor: fix typo

*  transform/visitor.go: Here.
parent b99fe8b9
......@@ -42,7 +42,7 @@ type Visitor struct {
cursor *astutil.Cursor
}
// ApplyWith applies a transformation to a node with a given visitorl.
// ApplyWith applies a transformation to a node with a given visitor.
func ApplyWith(node ast.Node, meta *Meta, transform Transform, visitor *Visitor) ast.Node {
currentVisitor := visitor
return astutil.Apply(node, func(c *astutil.Cursor) bool {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment