| author | |
| committer | |
| log | 211856693193b6e5ba4d58bdec1afdb839071fb3 |
| tree | 24c329ac7ee5d851a71d482954b6cc1e71dcc7ff |
| parent | 0c091feb5ae52caf1ebf885c0de55b3159207001 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/array_list.zig+1-1| ... | ... | @@ -743,7 +743,7 @@ pub fn ArrayListAlignedUnmanaged(comptime T: type, comptime alignment: ?u29) typ |
| 743 | 743 | |
| 744 | 744 | /// For a nicer API, `items.len` is the length, not the capacity. |
| 745 | 745 | /// This requires "unsafe" slicing. |
| 746 | fn allocatedSlice(self: Self) Slice { | |
| 746 | pub fn allocatedSlice(self: Self) Slice { | |
| 747 | 747 | return self.items.ptr[0..self.capacity]; |
| 748 | 748 | } |
| 749 | 749 | }; |