diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-15 17:13:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-15 17:13:37 +0000 |
| commit | 8b53b9d10cd5fee85d98cd337b478cf3d3305b12 (patch) | |
| tree | 896d527bfd204f788eacc3dc791966fb88e287be /macros/src/codegen/timer_queue.rs | |
| parent | 355cb82d0693fe108ac28ec8a0d77e8aab4e6e06 (diff) | |
| parent | 21253297e4a11a1d9f9c5069578cf9c69a3de31b (diff) | |
Merge #393
393: Implement all clippy suggestions r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
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 c898a7f..63d72dd 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() |
