From af8bd363695c0d462c46567f71110adc716b9049 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 10 Oct 2023 22:18:36 +0100 Subject: [PATCH] Fix clippy --- sea-streamer-runtime/src/timeout/no_rt_timeout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sea-streamer-runtime/src/timeout/no_rt_timeout.rs b/sea-streamer-runtime/src/timeout/no_rt_timeout.rs index 213a3a6..7694257 100644 --- a/sea-streamer-runtime/src/timeout/no_rt_timeout.rs +++ b/sea-streamer-runtime/src/timeout/no_rt_timeout.rs @@ -3,7 +3,7 @@ use std::{future::Future, time::Duration}; #[derive(Debug)] pub struct TimeoutError; -pub async fn timeout(_: Duration, _: F) -> Result +pub async fn timeout(_: Duration, _f: F) -> Result where F: Future, {