aboutsummaryrefslogtreecommitdiff
path: root/src/formatter
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatter')
-rw-r--r--src/formatter/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formatter/args.c b/src/formatter/args.c
index 6bd07b28..8bbbbd58 100644
--- a/src/formatter/args.c
+++ b/src/formatter/args.c
@@ -13,7 +13,7 @@ OptionalText_t format_inline_arg(arg_ast_t *arg, Table_t comments) {
if (arg->name == NULL && arg->value) return must(format_inline_code(arg->value, comments));
Text_t code = Text$from_str(arg->name);
if (arg->type) code = Texts(code, ":", must(format_type(arg->type)));
- if (arg->value) code = Texts(code, " = ", must(format_inline_code(arg->value, comments)));
+ if (arg->value) code = Texts(code, "=", must(format_inline_code(arg->value, comments)));
return code;
}
@@ -23,7 +23,7 @@ Text_t format_arg(arg_ast_t *arg, Table_t comments, Text_t indent) {
if (arg->name == NULL && arg->value) return format_code(arg->value, comments, indent);
Text_t code = Text$from_str(arg->name);
if (arg->type) code = Texts(code, ":", format_type(arg->type));
- if (arg->value) code = Texts(code, " = ", format_code(arg->value, comments, indent));
+ if (arg->value) code = Texts(code, "=", format_code(arg->value, comments, indent));
return code;
}