diff --git a/src/lib.zig b/src/lib.zig index 73549f80ccff5c245c6780b32052831a70191554..d89f056ee542381bdfa4855e4b409199253b828c 100644 --- a/src/lib.zig +++ b/src/lib.zig @@ -41,7 +41,7 @@ pub fn compileInner(alloc: std.mem.Allocator, writer: anytype, comptime value: a pub const Writer = std.ArrayList(u8).Writer; -fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void { +inline fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void { switch (comptime value) { .element => |v| { const hastext = comptime for (v.children) |x| {