prepare for unwrapping

This commit is contained in:
Jarred Sumner
2023-04-16 01:56:14 -07:00
parent 09357f55f9
commit e05cc8db90
10 changed files with 226 additions and 94 deletions

View File

@@ -4349,6 +4349,7 @@ pub fn concatWithLength(
@memcpy(remain.ptr, arg.ptr, arg.len);
remain = remain[arg.len..];
}
std.debug.assert(remain.len == 0); // all bytes should be used
return out;
}