Skip to content

Commit

Permalink
Add missing lifetime parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Aug 16, 2024
1 parent 195d9b4 commit 0a2f42b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esp-hal-embassy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ where
}

#[cfg(not(feature = "esp32"))]
impl<T, DM, const N: u8> IntoErasedTimer for Alarm<T, DM, N>
impl<T, DM, const N: u8> IntoErasedTimer for Alarm<'_, T, DM, N>
where
DM: esp_hal::Mode,
Self: Into<ErasedTimer>,
Expand Down
2 changes: 1 addition & 1 deletion esp-wifi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ where
}

#[cfg(not(feature = "esp32"))]
impl<T, DM, const N: u8> IntoErasedTimer for Alarm<T, DM, N>
impl<T, DM, const N: u8> IntoErasedTimer for Alarm<'_, T, DM, N>
where
DM: esp_hal::Mode,
Self: Into<ErasedTimer>,
Expand Down

0 comments on commit 0a2f42b

Please sign in to comment.