hare

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

commit 3f16c35884173128b1ac21577cd1a13576384034
parent 99260d6a4bd5dc01e4aeb0852cacda38747484f5
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 23 May 2021 14:04:50 -0400

linux::io_uring: add error flag to errors

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

Diffstat:
Mlinux/io_uring/uring.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/io_uring/uring.ha b/linux/io_uring/uring.ha @@ -1,7 +1,7 @@ use errors; // All errors which may be returned by this module. -export type error = (errors::timeout | errors::cancelled | errors::opaque); +export type error = !(errors::timeout | errors::cancelled | errors::opaque); // Converts an [[error]] into a human-readable string. export fn strerror(err: error) const str = {