From 2e4c0b418233544a0967caef4239c5adac75292d Mon Sep 17 00:00:00 2001 From: Fabian Schmalzried Date: Sun, 19 Oct 2025 21:11:08 +0200 Subject: [PATCH] Typo in safe_list.zig --- src/collections/safe_list.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collections/safe_list.zig b/src/collections/safe_list.zig index ff008c4a54..07bb49c9cf 100644 --- a/src/collections/safe_list.zig +++ b/src/collections/safe_list.zig @@ -200,7 +200,7 @@ pub fn SafeList(comptime T: type) type { return @enumFromInt(@as(u32, @intCast(length))); } - /// Add a new item to the end of this list assuming cpacity is sufficient to hold an additional item. + /// Add a new item to the end of this list assuming capacity is sufficient to hold an additional item. pub fn appendAssumeCapacity(self: *SafeList(T), item: T) Idx { const length = self.len(); self.items.appendAssumeCapacity(item); @@ -440,7 +440,7 @@ pub fn SafeMultiList(comptime T: type) type { return @enumFromInt(@as(u32, @intCast(length))); } - /// Add a new item to the end of this list assuming cpacity is sufficient to hold an additional item. + /// Add a new item to the end of this list assuming capacity is sufficient to hold an additional item. pub fn appendAssumeCapacity(self: *SafeMultiList(T), item: T) Idx { const length = self.len(); self.items.appendAssumeCapacity(item);