mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
Remove redundant space in aliases
This commit is contained in:
parent
4fed812389
commit
6786acb939
15 changed files with 24 additions and 28 deletions
|
@ -59,13 +59,9 @@ impl<'a> Formattable for Def<'a> {
|
|||
buf.indent(indent);
|
||||
buf.push_str(name.value);
|
||||
|
||||
if vars.is_empty() {
|
||||
for var in *vars {
|
||||
buf.spaces(1);
|
||||
} else {
|
||||
for var in *vars {
|
||||
buf.spaces(1);
|
||||
fmt_pattern(buf, &var.value, indent, Parens::NotNeeded);
|
||||
}
|
||||
fmt_pattern(buf, &var.value, indent, Parens::NotNeeded);
|
||||
}
|
||||
|
||||
buf.push_str(" :");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue