diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2024-12-06 13:38:15 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2024-12-06 14:09:26 +0100 |
| commit | b41a10e794261e1539cd571aab00fca40568ba87 (patch) | |
| tree | 50f184af566d990ae3ca3c99e585ac4ae9c57632 /rtic-time | |
| parent | f17915842ff18be48b6c8ed5faac378bc26ff3b3 (diff) | |
Fix documentation (docs.rs) and release 2.1.2
Diffstat (limited to 'rtic-time')
| -rw-r--r-- | rtic-time/src/timer_queue.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rtic-time/src/timer_queue.rs b/rtic-time/src/timer_queue.rs index c4cd7eb..4353a20 100644 --- a/rtic-time/src/timer_queue.rs +++ b/rtic-time/src/timer_queue.rs @@ -211,7 +211,7 @@ pub struct Delay<'q, Backend: TimerQueueBackend> { marker: AtomicUsize, } -impl<'q, Backend: TimerQueueBackend> Future for Delay<'q, Backend> { +impl<Backend: TimerQueueBackend> Future for Delay<'_, Backend> { type Output = (); fn poll(self: Pin<&mut Self>, cx: &mut core::task::Context<'_>) -> Poll<Self::Output> { @@ -249,7 +249,7 @@ impl<'q, Backend: TimerQueueBackend> Future for Delay<'q, Backend> { } } -impl<'q, Backend: TimerQueueBackend> Drop for Delay<'q, Backend> { +impl<Backend: TimerQueueBackend> Drop for Delay<'_, Backend> { fn drop(&mut self) { // SAFETY: Drop cannot be run at the same time as poll, so we can't end up // derefencing this concurrently to the one in `poll`. @@ -269,7 +269,7 @@ pub struct Timeout<'q, Backend: TimerQueueBackend, F> { future: F, } -impl<'q, Backend: TimerQueueBackend, F: Future> Future for Timeout<'q, Backend, F> { +impl<Backend: TimerQueueBackend, F: Future> Future for Timeout<'_, Backend, F> { type Output = Result<F::Output, TimeoutError>; fn poll(self: Pin<&mut Self>, cx: &mut core::task::Context<'_>) -> Poll<Self::Output> { |
