zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 86b6790b6a7fc7fb6b85d5e970259af60ddd0290 (tree)
parent 537b26034925bf7452db2ff4cd6b29de92d77471
Author: Tetralux <tetralux@teknik.io>
Date:   Sat, 21 Sep 2019 15:42:26 +0000

Remove 'inline', as per @andrewrk

Diffstat:
Mstd/heap.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/std/heap.zig b/std/heap.zig @@ -481,7 +481,7 @@ pub const FixedBufferAllocator = struct { return old_mem[0..new_size]; } - pub inline fn reset(self: *FixedBufferAllocator) void { + pub fn reset(self: *FixedBufferAllocator) void { self.end_index = 0; } };