| author | |
| committer | |
| log | 11d3e2515dd22f7bdf6f7c8021332006684ae8e9 |
| tree | 11a5418ad39f51c9454650edcb95bb3b6503ed73 |
| parent | 0b561847c15b3c90c4af8e1084c681fc1ecb0068 |
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; |