mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
make conversion a cast again
This commit is contained in:
parent
0b893eb972
commit
c0cfd6ac16
2 changed files with 13 additions and 22 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue