From cac8a31c39f46bc440fdc9ccf5c75c1ed2e4798a Mon Sep 17 00:00:00 2001 From: tangenta Date: Mon, 27 Nov 2023 15:38:00 +0800 Subject: [PATCH] refine comments --- pkg/table/column.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/table/column.go b/pkg/table/column.go index 6bf692927e24b..6c1c3aa4e1d90 100644 --- a/pkg/table/column.go +++ b/pkg/table/column.go @@ -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 @@ -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 {