Merge pull request #2081 from rtfeldman/joshuawarner32/private-tag-fmt

Fix formatting of private tags
This commit is contained in:
Richard Feldman 2021-11-26 18:03:31 -05:00 committed by GitHub
commit 74b8076bab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -523,7 +523,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;