diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-06-04 01:21:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-04 01:21:28 -0400 |
| commit | 9c08a33b2226239b8e0cf08ebcef17d710a54d8a (patch) | |
| tree | dd55d02ef4c45ffdeeb9b003b0bf7bd3456e7fd0 /lib/std/json.zig | |
| parent | 05b677f0c484181bcbd7eb86b41a70b8e508644b (diff) | |
| parent | 4909aa1da43d227ad85b2fe03a58ef1a8c12b769 (diff) | |
| download | zig-9c08a33b2226239b8e0cf08ebcef17d710a54d8a.tar.gz zig-9c08a33b2226239b8e0cf08ebcef17d710a54d8a.zip | |
Merge pull request #8750 from lithdew/master
x/io, x/os: async i/o reactor, cross-platform socket syscalls and bits
Diffstat (limited to 'lib/std/json.zig')
| -rw-r--r-- | lib/std/json.zig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/std/json.zig b/lib/std/json.zig index c72fc91ba6..847d38f08d 100644 --- a/lib/std/json.zig +++ b/lib/std/json.zig @@ -2111,10 +2111,7 @@ test "parse into struct with duplicate field" { const ballast = try testing.allocator.alloc(u64, 1); defer testing.allocator.free(ballast); - const options_first = ParseOptions{ - .allocator = testing.allocator, - .duplicate_field_behavior = .UseFirst, - }; + const options_first = ParseOptions{ .allocator = testing.allocator, .duplicate_field_behavior = .UseFirst }; const options_last = ParseOptions{ .allocator = testing.allocator, |
