diff options
author | 2023-04-09 05:39:05 -0700 | |
---|---|---|
committer | 2023-04-09 05:39:05 -0700 | |
commit | 7bd6a1f86d99c1374cb1eb15ff263dc352a8837b (patch) | |
tree | 6b7646d6bf34ca83844f713b3be671dc71a40b37 /src/js_lexer.zig | |
parent | 1e717dd941090b5c52f36445f3a53d41e1bc7894 (diff) | |
download | bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.gz bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.zst bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.zip |
Remove usages of `void{}` in favor of `{}`
See https://github.com/ziglang/zig/issues/15213
Diffstat (limited to 'src/js_lexer.zig')
-rw-r--r-- | src/js_lexer.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig index 2cf2af086..d96942f95 100644 --- a/src/js_lexer.zig +++ b/src/js_lexer.zig @@ -92,7 +92,7 @@ fn NewLexer_( const is_json = json_options.is_json; const json = json_options; const JSONBool = if (is_json) bool else void; - const JSONBoolDefault: JSONBool = if (is_json) true else void{}; + const JSONBoolDefault: JSONBool = if (is_json) true else {}; pub const Error = error{ UTF8Fail, |