create seamless slices when getting a substring

This commit is contained in:
Brendan Hansknecht 2023-12-05 22:46:43 -08:00
parent 9889984dd4
commit 087ca115c9
No known key found for this signature in database
GPG key ID: A199D0660F95F948
3 changed files with 29 additions and 4 deletions

View file

@ -1540,7 +1540,7 @@ fn low_level_no_rc(lowlevel: &LowLevel) -> RC {
StrGetUnsafe | ListGetUnsafe => RC::NoRc,
ListConcat => RC::Rc,
StrConcat => RC::Rc,
StrSubstringUnsafe => RC::NoRc,
StrSubstringUnsafe => RC::Rc,
StrReserve => RC::Rc,
StrAppendScalar => RC::Rc,
StrGetScalarUnsafe => RC::NoRc,