hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 72df240ff37e7e6aca7d43c712dc6391c9351cf8
parent 8b178f6fef00f8f324bfcf356c289dcabc6f9591
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Wed, 14 Apr 2021 13:19:37 -0400

strconv::stoz: fix documentation

Diffstat:
Mstrconv/stou.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/strconv/stou.ha b/strconv/stou.ha @@ -142,8 +142,8 @@ export fn stou8(s: str) (u8 | invalid | overflow) = stou8b(s, 10); // returned. export fn stou(s: str) (uint | invalid | overflow) = stoub(s, 10); -// Converts a string to a u64 in base 10, If the string contains any +// Converts a string to a size in base 10, If the string contains any // non-numeric characters, or if it's empty, [strconv::invalid] is returned. If -// the number is too large to be represented by a u64, [strconv::overflow] is +// the number is too large to be represented by a size, [strconv::overflow] is // returned. export fn stoz(s: str) (size | invalid | overflow) = stozb(s, 10);