hare

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

commit 8207aa6a2211f0fe70822b4c675e0947834ebc49
parent 082c9b7a71b96db77db2909c01e233ff7d493bc9
Author: Sebastian <sebastian@sebsite.pw>
Date:   Wed, 23 Feb 2022 15:11:11 -0500

strconv: fix double-space typo in comment

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mstrconv/stoi.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strconv/stoi.ha b/strconv/stoi.ha @@ -32,7 +32,7 @@ export fn stoi64b(s: str, base: uint) (i64 | invalid | overflow) = { }; // Converts a string to an i32 in the given base. If the string contains any -// non-numeric characters, except '-' or '+' at the start, or if it's empty, +// non-numeric characters, except '-' or '+' at the start, or if it's empty, // [[strconv::invalid]] is returned. If the number is too large to be represented // by an i32, [[strconv::overflow]] is returned. export fn stoi32b(s: str, base: uint) (i32 | invalid | overflow) = {