mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
add Str.releaseExcessCapacity
This commit is contained in:
parent
a80b25d044
commit
48f17a8e2c
11 changed files with 115 additions and 0 deletions
|
@ -1017,6 +1017,7 @@ pub fn lowlevel_borrow_signature(arena: &Bump, op: LowLevel) -> &[bool] {
|
|||
ListDropAt => arena.alloc_slice_copy(&[owned, irrelevant]),
|
||||
ListSwap => arena.alloc_slice_copy(&[owned, irrelevant, irrelevant]),
|
||||
ListReleaseExcessCapacity => arena.alloc_slice_copy(&[owned]),
|
||||
StrReleaseExcessCapacity => arena.alloc_slice_copy(&[owned]),
|
||||
|
||||
Eq | NotEq => arena.alloc_slice_copy(&[borrowed, borrowed]),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue