fix annoying spaces debug_assert failure

This commit is contained in:
Folkert 2022-02-04 23:00:10 +01:00
parent f02db3961a
commit 71cae79b02

View file

@ -46,7 +46,9 @@ impl<'a> Formattable for Def<'a> {
indent + INDENT,
);
} else {
buf.push_str(" : ");
buf.spaces(1);
buf.push_str(":");
buf.spaces(1);
loc_annotation.format_with_options(
buf,
Parens::NotNeeded,