authorgravatar for goon.pri.low@gmail.comKendall Condon <goon.pri.low@gmail.com> 2026-03-22 17:52:33-04:00
committergravatar for goon.pri.low@gmail.comKendall Condon <goon.pri.low@gmail.com> 2026-03-25 17:30:51-04:00
log0b52cac43465bdd920a506e43b716a8754bb3426
tree74df6aea80a9c7dde83eacfc2b374172fa9b1fd1
parent09e523bd51185ae8d71c347ce606e3b74dea1d5b

zig fmt: add missed `maybe_space`s


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

lib/std/zig/Ast/Render.zig+3-3
......@@ -1799,7 +1799,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi
17991799 break;
18001800 },
18011801 .keyword_noalias, .keyword_comptime => {
1802 try renderToken(r, last_param_token, .space);
1802 try renderToken(r, last_param_token, .maybe_space);
18031803 last_param_token += 1;
18041804 },
18051805 .identifier => {},
......@@ -1850,7 +1850,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi
18501850 break;
18511851 },
18521852 .keyword_noalias, .keyword_comptime => {
1853 try renderToken(r, last_param_token, .space);
1853 try renderToken(r, last_param_token, .maybe_space);
18541854 last_param_token += 1;
18551855 },
18561856 .identifier => {},
......@@ -1868,7 +1868,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi
18681868 {
18691869 try renderIdentifier(r, last_param_token, .none, .preserve_when_shadowing); // name
18701870 last_param_token += 1;
1871 try renderToken(r, last_param_token, .space); // :
1871 try renderToken(r, last_param_token, .maybe_space); // :
18721872 last_param_token += 1;
18731873 }
18741874 if (tree.tokenTag(last_param_token) == .keyword_anytype) {