Skip to content

Commit 10fbc21

Browse files
committed
cue/ast: fix typo
Change-Id: Ief441668de98358a724adf751652c0901679f236 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6480 Reviewed-by: Marcel van Lohuizen <[email protected]>
1 parent 097cf16 commit 10fbc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cue/ast/ast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ type BinaryExpr struct {
725725
}
726726

727727
// NewBinExpr creates for list of expressions of length 2 or greater a chained
728-
// binary expression of the form (((x1 op x2) op x3) ...). For lists of lenght
728+
// binary expression of the form (((x1 op x2) op x3) ...). For lists of length
729729
// 1 it returns the expression itself. It panics for empty lists.
730730
// Useful for ASTs generated by code other than the CUE parser.
731731
func NewBinExpr(op token.Token, operands ...Expr) Expr {

0 commit comments

Comments
 (0)