Str.reserve

This commit is contained in:
Folkert 2022-07-04 14:57:20 +02:00
parent f7b8094dfb
commit ab721dd3c1
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
10 changed files with 32 additions and 0 deletions

View file

@ -27,6 +27,7 @@ pub enum LowLevel {
StrToScalars,
StrGetUnsafe,
StrSubstringUnsafe,
StrReserve,
ListLen,
ListWithCapacity,
ListGetUnsafe,

View file

@ -1196,6 +1196,7 @@ define_builtins! {
38 STR_SPLIT_FIRST: "splitFirst"
39 STR_SPLIT_LAST: "splitLast"
40 STR_WALK_UTF8_WITH_INDEX: "walkUtf8WithIndex"
41 STR_RESERVE: "reserve"
}
5 LIST: "List" => {
0 LIST_LIST: "List" imported // the List.List type alias