Fix formatting of private tags

This commit is contained in:
Joshua Warner 2021-11-26 11:07:37 -08:00
parent 2939780638
commit 799e340c01

View file

@ -518,7 +518,7 @@ impl<'a> Formattable<'a> for Tag<'a> {
}
}
Tag::Private { name, args } => {
buf.push('@');
debug_assert!(name.value.starts_with('@'));
buf.push_str(name.value);
if is_multiline {
let arg_indent = indent + INDENT;