From 59efa4dd138d737c2cbccd440d7a8a226d7f15ce Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 20 Apr 2024 22:21:22 -0400 Subject: [PATCH] bytes: return done from next_token/peek_token Signed-off-by: Sebastian --- bcrypt.ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bcrypt.ha b/bcrypt.ha index 72e3bdd..402254b 100644 --- a/bcrypt.ha +++ b/bcrypt.ha @@ -151,7 +151,7 @@ fn loadtok(tok: *bytes::tokenizer) (str | errors::invalid) = { case => return errors::invalid; }; - case void => + case done => return errors::invalid; }; }; -- 2.45.2