From f151d5871c559012173356259030c1dd36a442cc Mon Sep 17 00:00:00 2001 From: Henrik Tjäder Date: Tue, 1 Sep 2020 14:39:05 +0000 Subject: Cargo fmt --- macros/src/codegen/assertions.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'macros/src/codegen/assertions.rs') diff --git a/macros/src/codegen/assertions.rs b/macros/src/codegen/assertions.rs index a7c26a5e..ab1b26cd 100644 --- a/macros/src/codegen/assertions.rs +++ b/macros/src/codegen/assertions.rs @@ -11,15 +11,15 @@ pub fn codegen(analysis: &Analysis) -> Vec { // type only on some core (e.g. `#[cfg(core = "0")] use some::Type;`) //if let Some(types) = analysis.send_types { - for ty in &analysis.send_types { - stmts.push(quote!(rtic::export::assert_send::<#ty>();)); - } + for ty in &analysis.send_types { + stmts.push(quote!(rtic::export::assert_send::<#ty>();)); + } //} //if let Some(types) = analysis.sync_types { - for ty in &analysis.sync_types { - stmts.push(quote!(rtic::export::assert_sync::<#ty>();)); - } + for ty in &analysis.sync_types { + stmts.push(quote!(rtic::export::assert_sync::<#ty>();)); + } //} // if the `schedule` API is used in more than one core then we need to check that the -- cgit v1.2.3