Fix missing formatting

This commit is contained in:
Gabriel Górski 2022-07-27 20:25:34 +02:00
parent c6fd3cdd0a
commit b4cfc4db84
2 changed files with 2 additions and 4 deletions

View file

@ -32,8 +32,7 @@ pub fn codegen(
// unless user specifies custom link section // unless user specifies custom link section
let section = if attrs.iter().any(|attr| attr.path.is_ident("link_section")) { let section = if attrs.iter().any(|attr| attr.path.is_ident("link_section")) {
None None
} } else {
else {
Some(util::link_section_uninit()) Some(util::link_section_uninit())
}; };

View file

@ -29,8 +29,7 @@ pub fn codegen(
// unless user specifies custom link section // unless user specifies custom link section
let section = if attrs.iter().any(|attr| attr.path.is_ident("link_section")) { let section = if attrs.iter().any(|attr| attr.path.is_ident("link_section")) {
None None
} } else {
else {
Some(util::link_section_uninit()) Some(util::link_section_uninit())
}; };