diff --git a/lib/std/array_list.zig b/lib/std/array_list.zig index 58058b285af276504fe0212080fd0983c290e50f..13aeb30952fdb78c681ee5df67c27100d8251ced 100644 --- a/lib/std/array_list.zig +++ b/lib/std/array_list.zig @@ -776,6 +776,9 @@ pub fn Aligned(comptime T: type, comptime alignment: ?mem.Alignment) type { /// /// Asserts what the capacity is equal to the length. /// Never invalidates element pointers. + /// + /// See also: + /// * `shrinkToLen` pub fn toOwnedSliceAssert(self: *Self) Slice { assert(self.items.len == self.capacity); const items = self.items;