pub fn addExtra(wip: *Wip, comptime T: type, v: T) Allocator.Error!T.Index wip: *WipT: typev: T381
382
383
384
385 pub fn addExtra(wip: *Wip, comptime T: type, v: T) Allocator.Error!T.Index {
const extra_len = Storage.extraLen(v);
try wip.extra.ensureUnusedCapacity(wip.gpa, extra_len);
return addExtraReserved(wip, T, v);
}