From b4cfc4db84d304f1fd6384a173d089544340b3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20G=C3=B3rski?= Date: Wed, 27 Jul 2022 20:25:34 +0200 Subject: [PATCH] Fix missing formatting --- macros/src/codegen/local_resources.rs | 3 +-- macros/src/codegen/shared_resources.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/macros/src/codegen/local_resources.rs b/macros/src/codegen/local_resources.rs index 087967f2a4..6e7c1daa72 100644 --- a/macros/src/codegen/local_resources.rs +++ b/macros/src/codegen/local_resources.rs @@ -32,8 +32,7 @@ pub fn codegen( // unless user specifies custom link section let section = if attrs.iter().any(|attr| attr.path.is_ident("link_section")) { None - } - else { + } else { Some(util::link_section_uninit()) }; diff --git a/macros/src/codegen/shared_resources.rs b/macros/src/codegen/shared_resources.rs index 010b27aea0..08d77cc326 100644 --- a/macros/src/codegen/shared_resources.rs +++ b/macros/src/codegen/shared_resources.rs @@ -29,8 +29,7 @@ pub fn codegen( // unless user specifies custom link section let section = if attrs.iter().any(|attr| attr.path.is_ident("link_section")) { None - } - else { + } else { Some(util::link_section_uninit()) };