mirror of
https://github.com/ziglang/zig.git
synced 2026-03-15 15:50:31 +00:00
Because `.buffer` is an inline array field, we actually require `self` to be passed as a pointer. If the compiler decided to pass the object by copying, we would return a pointer to to-be-destroyed stack memory.