diff options
author | 2020-10-13 14:16:33 +0000 | |
---|---|---|
committer | 2020-10-15 17:09:27 +0000 | |
commit | 21253297e4a11a1d9f9c5069578cf9c69a3de31b (patch) | |
tree | 896d527bfd204f788eacc3dc791966fb88e287be /macros/src/codegen/timer_queue.rs | |
parent | 355cb82d0693fe108ac28ec8a0d77e8aab4e6e06 (diff) | |
download | rtic-21253297e4a11a1d9f9c5069578cf9c69a3de31b.tar.gz rtic-21253297e4a11a1d9f9c5069578cf9c69a3de31b.tar.zst rtic-21253297e4a11a1d9f9c5069578cf9c69a3de31b.zip |
Implement all clippy suggestions
Diffstat (limited to 'macros/src/codegen/timer_queue.rs')
-rw-r--r-- | macros/src/codegen/timer_queue.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/codegen/timer_queue.rs b/macros/src/codegen/timer_queue.rs index c898a7fd..63d72dd9 100644 --- a/macros/src/codegen/timer_queue.rs +++ b/macros/src/codegen/timer_queue.rs @@ -26,7 +26,7 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream }) .collect::<Vec<_>>(); - let doc = format!("Tasks that can be scheduled"); + let doc = "Tasks that can be scheduled".to_string(); items.push(quote!( #[doc = #doc] #[allow(non_camel_case_types)] @@ -41,7 +41,7 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream // Static variable and resource proxy { - let doc = format!("Timer queue"); + let doc = "Timer queue".to_string(); let cap = app .software_tasks .iter() |