make conversion a cast again

This commit is contained in:
Folkert 2021-09-12 14:28:44 +02:00
parent 0b893eb972
commit c0cfd6ac16
2 changed files with 13 additions and 22 deletions

View file

@ -1150,8 +1150,8 @@ fn strToBytes(arg: RocStr) RocList {
}
const FromUtf8Result = extern struct {
string: RocStr,
byte_index: usize,
string: RocStr,
is_ok: bool,
problem_code: Utf8ByteProblem,
};