commit | f73e78f8d7f745296d9acedcb49dd81bfeb69b62 | [log] [tgz] |
---|---|---|
author | Kevin Gillette <extemporalgenome@gmail.com> | Thu Jan 28 20:04:41 2021 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Thu Jan 28 19:13:19 2021 +0000 |
tree | a6a8840af0d46439f985316865fa7dbaafaccd98 | |
parent | b360fe43170a8b7cc4ba9d4f65c02e6d5b7ae21f [diff] |
doc/../43_schema.txt: remove unnecessary word For consistency with https://github.com/cuelang/cue/blob/master/doc/tutorial/basics/2_types/55_defs.txt, this removes an unnecessary "a". Without the extra word, it also arguably _reads_ better, since readers aren't necessarily "pronouncing" hashtag/pound-sign in their minds as they read the text. Closes #677 https://github.com/cuelang/cue/pull/677 GitOrigin-RevId: e57be73702badc892ce5902d774bdc1763edbfd1 Change-Id: I1bd23ee6f4fa17f9fe050965cb609d1d3aa6a2e7 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8364 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/doc/tutorial/basics/0_intro/43_schema.txt b/doc/tutorial/basics/0_intro/43_schema.txt index 1d3ac88..bb0a10f 100644 --- a/doc/tutorial/basics/0_intro/43_schema.txt +++ b/doc/tutorial/basics/0_intro/43_schema.txt
@@ -8,7 +8,7 @@ -- text.md -- In CUE, schemas are typically written as Definitions. A definition is a field which identifier starts with -a `#` or `_#`. +`#` or `_#`. This tells CUE that they are to be used for validation and should not be output as data; it is okay for them to remain unspecified.