Skip to content

Commit

Permalink
Fix nightly warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 4, 2024
1 parent fb69411 commit 94f9fd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esp-hal/src/spi/slave.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ pub mod dma {
pub fn dma_write<'t, TXBUF>(
&'t mut self,
words: &'t TXBUF,
) -> Result<DmaTransferTx<'_, Self>, Error>
) -> Result<DmaTransferTx<'t, Self>, Error>
where
TXBUF: ReadBuffer,
{
Expand All @@ -382,7 +382,7 @@ pub mod dma {
pub fn dma_read<'t, RXBUF>(
&'t mut self,
words: &'t mut RXBUF,
) -> Result<DmaTransferRx<'_, Self>, Error>
) -> Result<DmaTransferRx<'t, Self>, Error>
where
RXBUF: WriteBuffer,
{
Expand Down Expand Up @@ -410,7 +410,7 @@ pub mod dma {
&'t mut self,
words: &'t TXBUF,
read_buffer: &'t mut RXBUF,
) -> Result<DmaTransferTxRx<'_, Self>, Error>
) -> Result<DmaTransferTxRx<'t, Self>, Error>
where
TXBUF: ReadBuffer,
RXBUF: WriteBuffer,
Expand Down

0 comments on commit 94f9fd6

Please sign in to comment.