commit | 2e9193f1fc5e5c86f205f78b04ceaf1dfd096298 | [log] [tgz] |
---|---|---|
author | N <noelmcloughlin@users.noreply.github.com> | Sun Aug 18 14:52:46 2019 +0000 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Sun Aug 18 15:01:00 2019 +0000 |
tree | 63bdb1dbe8208f8bf9e818972bfca483b4c74c21 | |
parent | ed718e2453fdc1a4c0684ed67adb54d80281908c [diff] |
doc/tutorials/basic: update numbers.md example must fit description of example Closes #73 https://github.com/cuelang/cue/pull/73 GitOrigin-RevId: 968fc1570fbfdd4490e492761f3be74fb81fc73d Change-Id: I41d3b0b0e05bf9fc0ce75d33c01cc96959f2ec5d Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2867 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/doc/tutorial/basics/numbers.md b/doc/tutorial/basics/numbers.md index deb8329..08d9b9c 100644 --- a/doc/tutorial/basics/numbers.md +++ b/doc/tutorial/basics/numbers.md
@@ -21,7 +21,7 @@ a: 4 // type int b: number -b: 4 // type float +b: 4.0 // type float c: int c: 4.0 @@ -33,7 +33,7 @@ `$ cue eval -i numbers.cue` ``` a: 4 -b: 4 +b: 4.0 c: _|_ /* conflicting values int and 4.0 (mismatched types int and float) */ d: 4 -``` \ No newline at end of file +```