forgot about 32 bit targets

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2024-03-30 17:46:27 +01:00 committed by GitHub
parent 315fbeb75c
commit 2b40aa90d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -371,9 +371,8 @@ prependIfOk = \list, result ->
## Returns the length of the list - the number of elements it contains.
##
## One [List] can store up to 9,223,372,036,854,775,807 elements, which
## is exactly equal to the highest valid #I64 value. This means the #U64 this function
## returns can always be safely converted to an #I64 without losing any data.
## One [List] can store up to `Num.maxI64` elements on 64-bit targets and `Num.maxI32` on 32-bit targets like wasm.
## This means the #U64 this function returns can always be safely converted to #I64 or #I32, depending on the target.
len : List * -> U64
## Create a list with space for at least capacity elements