mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Fix missing formatting
This commit is contained in:
parent
c6fd3cdd0a
commit
b4cfc4db84
2 changed files with 2 additions and 4 deletions
|
@ -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())
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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())
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue