diff --git a/src/sync.rs b/src/sync.rs index 7ff6c3e..d81ab6e 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -695,8 +695,8 @@ impl SeqEx { &self, mut tl: TL, seq_cst: bool, - mut packet_data: SendData, timeout: i64, + mut packet_data: SendData, ) -> Result, (TrySendError, SendData)> { send!(self, tl, seq_cst, packet_data, try_send, timeout) } @@ -715,8 +715,8 @@ impl SeqEx { &self, mut tl: TL, seq_cst: bool, - mut f: F, timeout: i64, + mut f: F, ) -> Result, (TrySendError, F)> { send!(self, tl, seq_cst, f, try_send_with, timeout) }