mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
add missing indent when formatting single-quoted char in pattern
This commit is contained in:
parent
91c2330c34
commit
87041f8cd7
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ impl<'a> Formattable for Pattern<'a> {
|
|||
}
|
||||
StrLiteral(literal) => fmt_str_literal(buf, *literal, indent),
|
||||
SingleQuote(string) => {
|
||||
buf.indent(indent);
|
||||
buf.push('\'');
|
||||
buf.push_str(string);
|
||||
buf.push('\'');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue