mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Fix indent call in when fmt
This commit is contained in:
parent
fa4d3e79ec
commit
ab4c96bc81
5 changed files with 40 additions and 0 deletions
|
@ -1328,6 +1328,7 @@ fn fmt_when<'a>(
|
|||
guard_expr.format_with_options(buf, Parens::NotNeeded, Newlines::Yes, indent + INDENT);
|
||||
}
|
||||
|
||||
buf.indent(indent + INDENT);
|
||||
buf.push_str(" ->");
|
||||
|
||||
match expr.value {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue