aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/async_dispatchers.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2023-01-08 21:30:53 +0100
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2023-03-01 00:33:29 +0100
commitc40c89bb4edc22c4a60d8677c660a9ab7eb47e92 (patch)
tree3ba72592f324dd7bef32773211b093e4949d6ff0 /macros/src/codegen/async_dispatchers.rs
parent6d252785e83218eeb5d080836281c90b86ca0e03 (diff)
downloadrtic-c40c89bb4edc22c4a60d8677c660a9ab7eb47e92.tar.gz
rtic-c40c89bb4edc22c4a60d8677c660a9ab7eb47e92.tar.zst
rtic-c40c89bb4edc22c4a60d8677c660a9ab7eb47e92.zip
Clippy fixes
Diffstat (limited to 'macros/src/codegen/async_dispatchers.rs')
-rw-r--r--macros/src/codegen/async_dispatchers.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/macros/src/codegen/async_dispatchers.rs b/macros/src/codegen/async_dispatchers.rs
index f6408e1e..be02ad09 100644
--- a/macros/src/codegen/async_dispatchers.rs
+++ b/macros/src/codegen/async_dispatchers.rs
@@ -85,8 +85,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> TokenStream2 {
if level > 0 {
let doc = format!(
- "Interrupt handler to dispatch async tasks at priority {}",
- level
+ "Interrupt handler to dispatch async tasks at priority {level}"
);
let attribute = &interrupts.get(&level).expect("UNREACHABLE").1.attrs;
items.push(quote!(