zig fmt: add missed maybe_spaces

This commit is contained in:
Kendall Condon
2026-03-22 17:52:33 -04:00
parent 09e523bd51
commit 0b52cac434
+3 -3
View File
@@ -1799,7 +1799,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi
break;
},
.keyword_noalias, .keyword_comptime => {
try renderToken(r, last_param_token, .space);
try renderToken(r, last_param_token, .maybe_space);
last_param_token += 1;
},
.identifier => {},
@@ -1850,7 +1850,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi
break;
},
.keyword_noalias, .keyword_comptime => {
try renderToken(r, last_param_token, .space);
try renderToken(r, last_param_token, .maybe_space);
last_param_token += 1;
},
.identifier => {},
@@ -1868,7 +1868,7 @@ fn renderFnProto(r: *Render, fn_proto: Ast.full.FnProto, space: Space) Error!voi
{
try renderIdentifier(r, last_param_token, .none, .preserve_when_shadowing); // name
last_param_token += 1;
try renderToken(r, last_param_token, .space); // :
try renderToken(r, last_param_token, .maybe_space); // :
last_param_token += 1;
}
if (tree.tokenTag(last_param_token) == .keyword_anytype) {