Fix indent formatting in Def::AnnotatedBody

This commit is contained in:
Joshua Warner 2021-11-26 10:21:08 -08:00
parent 2939780638
commit 27b83650ba

View file

@ -89,7 +89,7 @@ impl<'a> Formattable<'a> for Def<'a> {
buf.push_str(" # ");
buf.push_str(comment_str.trim());
}
buf.push_str("\n");
newline(buf, indent);
fmt_body(buf, &body_pattern.value, &body_expr.value, indent);
}