authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-07 00:40:21 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-07 00:40:21 -07:00
log86c307561938c3043a9f50f742fc7c77716f1ac9
tree04f75205fc0c3bba7f7c62e2a72ae12d51941998
parent8c4045be2ec6d9cb59136403edab62cdd35f6eb0

compile- remove redundant return


1 files changed, 1 insertions(+), 1 deletions(-)

src/lib.zig+1-1
...@@ -33,7 +33,7 @@ pub fn parse(comptime input: []const u8) astgen.Value {...@@ -33,7 +33,7 @@ pub fn parse(comptime input: []const u8) astgen.Value {
33}33}
3434
35pub fn compile(writer: anytype, comptime value: astgen.Value, data: anytype) !void {35pub fn compile(writer: anytype, comptime value: astgen.Value, data: anytype) !void {
36 return try do(writer, value, data, data, 0, false);36 try do(writer, value, data, data, 0, false);
37}37}
3838
39fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, indent: usize, flag1: bool) anyerror!void {39fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, indent: usize, flag1: bool) anyerror!void {