| author | |
| committer | |
| log | 3679d737f88fc18da8b8f1d6d6d2a6e8690ebd1d |
| tree | 36ae57f42816b85b90cd50f69e6e42768dc2648f |
| parent | bb55276f063f2934795c1c2523dc7525cd4adce5 |
1 files changed, 2 insertions(+), 2 deletions(-)
lib/std/mem/Allocator.zig+2-2| ... | ... | @@ -144,10 +144,10 @@ pub fn NoOpFree(comptime AllocatorType: type) type { |
| 144 | 144 | }; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | /// Set freeFn to `PanicFree(AllocatorType).noOpFree` if free is not a supported operation. | |
| 147 | /// Set freeFn to `PanicFree(AllocatorType).panicFree` if free is not a supported operation. | |
| 148 | 148 | pub fn PanicFree(comptime AllocatorType: type) type { |
| 149 | 149 | return struct { |
| 150 | pub fn noOpFree( | |
| 150 | pub fn panicFree( | |
| 151 | 151 | self: *AllocatorType, |
| 152 | 152 | buf: []u8, |
| 153 | 153 | buf_align: u29, |