Fix indent call in when fmt

This commit is contained in:
Joshua Warner 2024-12-01 19:29:30 -08:00
parent fa4d3e79ec
commit ab4c96bc81
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
5 changed files with 40 additions and 0 deletions

View file

@ -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 {