diff --git a/lib/std/array_list.zig b/lib/std/array_list.zig index 7b6a004603a2d557dd2af751f322536dfa23b1a6..7c34f58dba4d4151e1df3426eeccbbc1a7064b16 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;