hare

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

commit 8922a0afe937f65625bc7b448aeb4d38dd879900
parent 3058b26e8f61aedaf25cae6d5c6b65a0ff8db96e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  6 May 2021 10:20:19 -0400

uuid: minor style nit

Signed-off-by: Drew DeVault <sir@cmpwn.com>

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

diff --git a/uuid/uuid.ha b/uuid/uuid.ha @@ -134,8 +134,8 @@ export fn decodestr(in: str) (uuid | invalid) = { let buf = bufio::fixed(strings::toutf8(in), io::mode::READ); defer io::close(buf); return match (decode(buf)) { - u: uuid => u, - invalid => invalid, err: io::error => abort(), + invalid => invalid, + u: uuid => u, }; };