More rustanalyzer lint fixes

This commit is contained in:
Emil Fresk 2021-08-20 09:21:02 +02:00
parent 3bf5a4f7a0
commit 52dc324aa7

View file

@ -376,6 +376,7 @@ pub fn codegen(
///
/// This will use the time `Instant::new(0)` as baseline if called in `#[init]`,
/// so if you use a non-resetable timer use `spawn_at` when in `#[init]`
#[allow(non_snake_case)]
pub fn #internal_spawn_after_ident<D>(
duration: D
#(,#args)*
@ -395,6 +396,7 @@ pub fn codegen(
#(#cfgs)*
/// Spawns the task at a fixed time instant
#[allow(non_snake_case)]
pub fn #internal_spawn_at_ident(
instant: rtic::time::Instant<#mono_type>
#(,#args)*