1
Fork 0

Fix formatting

This commit is contained in:
carbotaniuman 2024-05-27 11:45:32 -05:00
parent 8aa2553b50
commit 15f8ffe371
5 changed files with 25 additions and 7 deletions

View file

@ -260,8 +260,13 @@ pub fn print_crate<'a>(
// root, so this is not needed, and actually breaks things.
if edition.is_rust_2015() {
// `#![no_std]`
let fake_attr =
attr::mk_attr_word(g, ast::AttrStyle::Inner, Safety::Default, sym::no_std, DUMMY_SP);
let fake_attr = attr::mk_attr_word(
g,
ast::AttrStyle::Inner,
Safety::Default,
sym::no_std,
DUMMY_SP,
);
s.print_attribute(&fake_attr);
}
}