authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-27 22:07:34 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-27 22:07:34 -07:00
logb7c42514db96ad9cb6d57c792499b5f92d516fa1
treee283b286c14286b7c49026232cd660af32f79550
parent72e555fbc0776f2600aee19b01e5ab1855ebec7a

run zig fmt


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

src/lib.zig+3-3
...@@ -4,8 +4,8 @@ pub const Value = union(enum) {...@@ -4,8 +4,8 @@ pub const Value = union(enum) {
4 Object: []Member,4 Object: []Member,
5 Array: []Value,5 Array: []Value,
6 String: []const u8,6 String: []const u8,
7 Int: i64,7 Int: i64,
8 Float: f64,8 Float: f64,
9 Bool: bool,9 Bool: bool,
10 Null: void,10 Null: void,
1111
...@@ -143,7 +143,7 @@ const Parser = struct {...@@ -143,7 +143,7 @@ const Parser = struct {
143 std.fs.File.OpenError ||143 std.fs.File.OpenError ||
144 std.json.StreamingParser.Error ||144 std.json.StreamingParser.Error ||
145 std.mem.Allocator.Error ||145 std.mem.Allocator.Error ||
146 error{ Overflow } ||146 error{Overflow} ||
147 error{InvalidCharacter} ||147 error{InvalidCharacter} ||
148 error{ JsonExpectedObjKey, JsonExpectedValueStartGotEnd };148 error{ JsonExpectedObjKey, JsonExpectedValueStartGotEnd };
149};149};