Skip to content

Commit

Permalink
refine comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Nov 27, 2023
1 parent a49dc23 commit cac8a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/table/column.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type Column struct {
DefaultExpr ast.ExprNode
}

// ClonableExprNode is an wrapper for ast.ExprNode.
// ClonableExprNode is a wrapper for ast.ExprNode.
type ClonableExprNode struct {
ctor func() ast.ExprNode
internal ast.ExprNode
Expand All @@ -66,7 +66,7 @@ func NewClonableExprNode(ctor func() ast.ExprNode, internal ast.ExprNode) *Clona
}
}

// Clone makes a "copy" of the internal ast.ExprNode by reconstructing it.
// Clone makes a "copy" of internal ast.ExprNode by reconstructing it.
func (n *ClonableExprNode) Clone() ast.ExprNode {
intest.AssertNotNil(n.ctor)
if n.ctor == nil {
Expand Down

0 comments on commit cac8a31

Please sign in to comment.