commit | 89cada6f3844680ae410da4b70bf7732f70eda3b | [log] [tgz] |
---|---|---|
author | Kevin Gillette <extemporalgenome@gmail.com> | Sat Feb 06 08:54:28 2021 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Sat Feb 13 16:21:36 2021 +0000 |
tree | a6db8891385feb8e95a58b2b919fbc8c76aec26f | |
parent | 760aa115cf9b62ed51c2d2ee4153d8654c0f231e [diff] |
doc/tutorial: address cuelang/cuelang.org#126 @j-bai raised https://github.com/cuelang/cuelang.org/issues/126, pointing out that the roles of `xaxis` and `yaxis` are backwards. This addresses the issue. Closes #711 https://github.com/cuelang/cue/pull/711 GitOrigin-RevId: 186399f9040cd6111214f92cd8d1d94c5908ffd7 Change-Id: I439cf405ce4174d75917c550c9ef3b91ff9ab54c Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8622 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/doc/tutorial/basics/2_types/05_types.txt b/doc/tutorial/basics/2_types/05_types.txt index c56e99f..4414764 100644 --- a/doc/tutorial/basics/2_types/05_types.txt +++ b/doc/tutorial/basics/2_types/05_types.txt
@@ -43,10 +43,10 @@ } xaxis: point -xaxis: x: 0 +xaxis: y: 0 yaxis: point -yaxis: y: 0 +yaxis: x: 0 origin: xaxis & yaxis @@ -56,13 +56,13 @@ y: number } xaxis: { - x: 0 - y: number -} -yaxis: { x: number y: 0 } +yaxis: { + x: 0 + y: number +} origin: { x: 0 y: 0