Skip to content

Commit 045c02c

Browse files
committed
fix: string maxInt
1 parent d147871 commit 045c02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/strings/strings.cell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package strings
22

3-
const maxInt = uint64(uint64(-1)^uint64(0) >> uint64(1))
3+
const maxInt = 2147483647 // u32.max
44

55
// Join concatenates the elements of its first argument to create a single string. The separator
66
// string sep is placed between elements in the resulting string.

0 commit comments

Comments
 (0)