Remove unused lowlevel StrGetCapacity

This commit is contained in:
Richard Feldman 2024-02-01 21:36:19 -05:00
parent fc6b519b59
commit f79ff6d496
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
6 changed files with 3 additions and 13 deletions

View file

@ -533,12 +533,6 @@ pub(crate) fn run_low_level<'a, 'ctx>(
bitcode::STR_COUNT_UTF8_BYTES,
)
}
StrGetCapacity => {
// Str.capacity : Str -> Nat
arguments!(string);
call_bitcode_fn(env, &[string], bitcode::STR_CAPACITY)
}
StrSubstringUnsafe => {
// Str.substringUnsafe : Str, Nat, Nat -> Str
arguments!(string, start, length);