make Str.fromUtf8 in-place

This commit is contained in:
Folkert 2021-10-03 12:13:17 +02:00
parent 9e97a09a87
commit 018348bd83
6 changed files with 49 additions and 14 deletions

View file

@ -256,3 +256,8 @@ pub const Ordering = enum(u8) {
GT = 1,
LT = 2,
};
pub const UpdateMode = extern enum(u8) {
Immutable = 0,
InPlace = 1,
};