Skip to content

Commit

Permalink
cue/ast: fix typo
Browse files Browse the repository at this point in the history
Change-Id: Ief441668de98358a724adf751652c0901679f236
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6480
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
  • Loading branch information
mpvl committed Jul 3, 2020
1 parent 097cf16 commit 10fbc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cue/ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ type BinaryExpr struct {
}

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

0 comments on commit 10fbc21

Please sign in to comment.