Fixed some formatting

This commit is contained in:
ptaszor3 2023-12-10 19:29:07 +01:00
parent 648ccd463d
commit 58b73ae257
No known key found for this signature in database
GPG Key ID: 083F32091F5D7CEE
2 changed files with 1 additions and 7 deletions

View File

@ -302,12 +302,7 @@ fn should_outdent(mut rhs: &TypeAnnotation) -> bool {
}
}
fn fmt_dbg_in_def<'a>(
buf: &mut Buf,
condition: &'a Loc<Expr<'a>>,
_: bool,
indent: u16,
) {
fn fmt_dbg_in_def<'a>(buf: &mut Buf, condition: &'a Loc<Expr<'a>>, _: bool, indent: u16) {
buf.ensure_ends_with_newline();
buf.indent(indent);
buf.push_str("dbg");

View File

@ -959,7 +959,6 @@ fn fmt_dbg<'a>(
_: bool,
indent: u16,
) {
buf.ensure_ends_with_newline();
buf.indent(indent);
buf.push_str("dbg");