mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Don't over-indent type alias defs
This commit is contained in:
parent
23a02a7a75
commit
01434c8e28
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ impl<'a> Formattable for TypeDef<'a> {
|
|||
buf.push_str(" :");
|
||||
buf.spaces(1);
|
||||
|
||||
ann.format(buf, indent + INDENT)
|
||||
ann.format(buf, indent)
|
||||
}
|
||||
Opaque {
|
||||
header: TypeHeader { name, vars },
|
||||
|
@ -113,7 +113,7 @@ impl<'a> Formattable for TypeDef<'a> {
|
|||
buf.indent(indent + INDENT);
|
||||
}
|
||||
|
||||
ann.format(buf, indent + INDENT);
|
||||
ann.format(buf, indent);
|
||||
|
||||
if let Some(derived) = derived {
|
||||
if !make_multiline {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue