This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
2
[PATCH hare-json] Bump usage of bufio::read_rune
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
---
encoding/json/lex.ha | 2 + -
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/encoding/json/lex.ha b/encoding/json/lex.ha
index a523db1..3545cc3 100644
--- a/encoding/json/lex.ha
+++ b/encoding/json/lex.ha
@@ -339,7 +339,7 @@ fn nextrune(lex: *lexer) (rune | io::EOF | error) = {
};
return r;
};
- match (bufio::scanrune(lex.src)) {
+ match (bufio::read_rune(lex.src)) {
case let err: io::error =>
return err;
case utf8::invalid =>
--
2.42.0
It looks like hare-json needs a fair bit more work here to be made up to
date with the latest language/stdlib changes, can you write a more
comprehensive patch?
Thanks!
To git@git.sr.ht:~sircmpwn/hare-json
4af2d11..e24e5dc master -> master