Skip to content

Commit c2e6489

Browse files
authored
Typo: gpa -> alloc
1 parent 09a65a8 commit c2e6489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/posts/2025-08-16-reserve-first.dj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub fn grow(
180180
assert(size_new >= self.size);
181181
if (size_new == self.size) return;
182182

183-
try self.nodes.ensureUnusedCapacity(gpa, 1);
183+
try self.nodes.ensureUnusedCapacity(alloc, 1);
184184
const data_new =
185185
try alloc.alloc(u8, size_new * size_new * self.format.depth());
186186
errdefer comptime unreachable; // End reservation phase.

0 commit comments

Comments
 (0)