mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
cargo fmt
This commit is contained in:
parent
adc1493e76
commit
ec975aac93
1 changed files with 2 additions and 2 deletions
|
@ -804,8 +804,8 @@ pub fn fmt_record<'a>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let is_multiline =
|
let is_multiline = loc_fields.iter().any(|loc_field| loc_field.is_multiline())
|
||||||
loc_fields.iter().any(|loc_field| loc_field.is_multiline()) || !final_comments.is_empty();
|
|| !final_comments.is_empty();
|
||||||
|
|
||||||
if is_multiline {
|
if is_multiline {
|
||||||
let field_indent = indent + INDENT;
|
let field_indent = indent + INDENT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue