| author | |
| committer | |
| log | cef0857634686c0b4968d9d5a90991f0feeef839 |
| tree | 21a20842c5138c147a1bb3ff22d0b57c311e640f |
| parent | 1bfbbe8b80c9155591766e302ffbc93c180b348a |
1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/array_list.zig+3| ... | ... | @@ -776,6 +776,9 @@ pub fn Aligned(comptime T: type, comptime alignment: ?mem.Alignment) type { |
| 776 | 776 | /// |
| 777 | 777 | /// Asserts what the capacity is equal to the length. |
| 778 | 778 | /// Never invalidates element pointers. |
| 779 | /// | |
| 780 | /// See also: | |
| 781 | /// * `shrinkToLen` | |
| 779 | 782 | pub fn toOwnedSliceAssert(self: *Self) Slice { |
| 780 | 783 | assert(self.items.len == self.capacity); |
| 781 | 784 | const items = self.items; |