use type assertion with nullable types in some places Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
1 files changed, 1 insertions(+), 2 deletions(-) M io_uring/cqe.ha
M io_uring/cqe.ha => io_uring/cqe.ha +1 -2
@@ 21,8 21,7 @@ export fn wait(ring: *io_uring) (*cqe | error) = { case let err: error => return err; case let cq: nullable *cqe => - assert(cq != null); // XXX: Correct? - return cq: *cqe; + return cq as *cqe; // XXX: Correct? }; };