mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
make Str.fromUtf8 in-place
This commit is contained in:
parent
9e97a09a87
commit
018348bd83
6 changed files with 49 additions and 14 deletions
|
@ -4848,7 +4848,7 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
|
||||
let original_wrapper = load_symbol(scope, &args[0]).into_struct_value();
|
||||
|
||||
str_from_utf8(env, parent, original_wrapper)
|
||||
str_from_utf8(env, parent, original_wrapper, update_mode)
|
||||
}
|
||||
StrFromUtf8Range => {
|
||||
debug_assert_eq!(args.len(), 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue