This commit is contained in:
Matthew 2026-06-27 14:21:14 +10:00
parent fe9cc4c948
commit f49d47fcac

View File

@ -143,7 +143,7 @@ Alloc(string target)
}
string
AllocTerminated(char[] target)
AllocTerminated(T)(T target) if(StringType!T)
{
u8[] str = Alloc!(u8)(target.length+1);
str[0 .. target.length] = str[];