mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
started on Str.toNum
This commit is contained in:
parent
68e2701948
commit
eaf4e57759
7 changed files with 29 additions and 0 deletions
|
@ -943,6 +943,7 @@ pub fn lowlevel_borrow_signature(arena: &Bump, op: LowLevel) -> &[bool] {
|
|||
StrTrim => arena.alloc_slice_copy(&[owned]),
|
||||
StrTrimLeft => arena.alloc_slice_copy(&[owned]),
|
||||
StrTrimRight => arena.alloc_slice_copy(&[owned]),
|
||||
StrToNum => arena.alloc_slice_copy(&[borrowed]), // TODO should this be borrowed?
|
||||
StrSplit => arena.alloc_slice_copy(&[borrowed, borrowed]),
|
||||
ListSingle => arena.alloc_slice_copy(&[irrelevant]),
|
||||
ListRepeat => arena.alloc_slice_copy(&[irrelevant, borrowed]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue