commit | 107863a76cf05f14fb4c09b20bf8e8ee3e14dba4 | [log] [tgz] |
---|---|---|
author | Daniel Martà <mvdan@mvdan.cc> | Tue Feb 11 15:00:50 2020 +0000 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Wed Feb 12 18:52:29 2020 +0000 |
tree | f7def87d699202171d8edf43ec97a8d135a5f6e6 | |
parent | 066ede6ca14ddbca75b760fad01657242725dce5 [diff] [blame] |
doc/ref: fix a go-ism in the spec It seems like it used ':=' instead of ':' by mistake. Change-Id: I6f1694b029b43bb417c10c44048bd3976d4bb867 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4920 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/doc/ref/spec.md b/doc/ref/spec.md index 300e5d9..7daf5e1 100644 --- a/doc/ref/spec.md +++ b/doc/ref/spec.md
@@ -2258,7 +2258,7 @@ Strings can be concatenated using the `+` operator: ``` -s := "hi " + name + " and good bye" +s: "hi " + name + " and good bye" ``` String addition creates a new string by concatenating the operands.