From a36d30f643e1a6d173ba60fb065ed2bd7bb1b15f Mon Sep 17 00:00:00 2001 From: Jonathan Matthews Date: Mon, 11 Nov 2024 11:44:00 +0000 Subject: [PATCH] docs/tour: fix uint{16,32} bounds 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 Dispatch-Trailer: {"type":"trybot","CL":1203855,"patchset":1,"ref":"refs/changes/55/1203855/1","targetBranch":"master"} --- content/docs/tour/types/bounddef/en.md | 4 ++-- content/docs/tour/types/bounddef/gen_cache.cue | 2 +- hugo/content/en/docs/tour/types/bounddef/index.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/docs/tour/types/bounddef/en.md b/content/docs/tour/types/bounddef/en.md index 0878f77f3..ea03adbf8 100644 --- a/content/docs/tour/types/bounddef/en.md +++ b/content/docs/tour/types/bounddef/en.md @@ -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 diff --git a/content/docs/tour/types/bounddef/gen_cache.cue b/content/docs/tour/types/bounddef/gen_cache.cue index e0dc3882f..ceb9c89db 100644 --- a/content/docs/tour/types/bounddef/gen_cache.cue +++ b/content/docs/tour/types/bounddef/gen_cache.cue @@ -8,7 +8,7 @@ package site page: { cache: { code: { - identifiers: "y7C9AndFEKb06aZfuQQORqteWvrTNJ5kF58v8D7z1sU=" + identifiers: "xL5ovT+ahvA8cj/EYMJ6gZ8NPt5jEbAvGQTX9G4e8Sk=" tour: "6V860VmTsRN2dG0tOkg0zPjuf7F+0uZe9JJsfbEJ25U=" } } diff --git a/hugo/content/en/docs/tour/types/bounddef/index.md b/hugo/content/en/docs/tour/types/bounddef/index.md index 9b0efcf43..1a9c5c6c8 100644 --- a/hugo/content/en/docs/tour/types/bounddef/index.md +++ b/hugo/content/en/docs/tour/types/bounddef/index.md @@ -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