Skip to content

Commit

Permalink
docs/tour: fix uint{16,32} bounds
Browse files Browse the repository at this point in the history
This change aligns the bounds demonstrated in the tour with those
present in the cue-lang/cue source as of the tip of master, at
https://github.com/cue-lang/cue/blob/af459f14b88efc59bee88f3b3a0f8b1b37dbfa66/internal/core/export/bounds.go#L176.

Closes #479 as merged as of commit 5dd94e78.

Change-Id: I54e1204a7d05e1db7bc24cbfbf1c53ed85540364
Signed-off-by: Jonathan Matthews <[email protected]>
Dispatch-Trailer: {"type":"trybot","CL":1203855,"patchset":1,"ref":"refs/changes/55/1203855/1","targetBranch":"master"}
  • Loading branch information
jpluscplusm authored and cueckoo committed Nov 11, 2024
1 parent f1eb334 commit a36d30f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions content/docs/tour/types/bounddef/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ types in other languages.
uint: >=0
uint8: >=0 & <=255
int8: >=-128 & <=127
uint16: >=0 & <=65536
uint16: >=0 & <=65535
int16: >=-32_768 & <=32_767
rune: >=0 & <=0x10FFFF
uint32: >=0 & <=4_294_967_296
uint32: >=0 & <=4_294_967_295
int32: >=-2_147_483_648 & <=2_147_483_647
uint64: >=0 & <=18_446_744_073_709_551_615
int64: >=-9_223_372_036_854_775_808 & <=9_223_372_036_854_775_807
Expand Down
2 changes: 1 addition & 1 deletion content/docs/tour/types/bounddef/gen_cache.cue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package site
page: {
cache: {
code: {
identifiers: "y7C9AndFEKb06aZfuQQORqteWvrTNJ5kF58v8D7z1sU="
identifiers: "xL5ovT+ahvA8cj/EYMJ6gZ8NPt5jEbAvGQTX9G4e8Sk="
tour: "6V860VmTsRN2dG0tOkg0zPjuf7F+0uZe9JJsfbEJ25U="
}
}
Expand Down
4 changes: 2 additions & 2 deletions hugo/content/en/docs/tour/types/bounddef/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ types in other languages.
uint: >=0
uint8: >=0 & <=255
int8: >=-128 & <=127
uint16: >=0 & <=65536
uint16: >=0 & <=65535
int16: >=-32_768 & <=32_767
rune: >=0 & <=0x10FFFF
uint32: >=0 & <=4_294_967_296
uint32: >=0 & <=4_294_967_295
int32: >=-2_147_483_648 & <=2_147_483_647
uint64: >=0 & <=18_446_744_073_709_551_615
int64: >=-9_223_372_036_854_775_808 & <=9_223_372_036_854_775_807
Expand Down

0 comments on commit a36d30f

Please sign in to comment.