From e5c1b2efb597bc7089e833bf570d8217c36f50c3 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 15 Oct 2024 17:22:31 -0500 Subject: refactor: removed unused deps --- src/service/tcp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/service/tcp.rs') diff --git a/src/service/tcp.rs b/src/service/tcp.rs index e28b19d..974d2f6 100644 --- a/src/service/tcp.rs +++ b/src/service/tcp.rs @@ -3,7 +3,7 @@ use std::{fmt::Display, net::SocketAddr, time::Duration}; use serde::{Deserialize, Serialize}; use tokio::{io::Interest, net::TcpSocket}; -use crate::Status; +use crate::status::Sender; use super::IntoService; @@ -33,7 +33,7 @@ impl Tcp { } impl IntoService for Tcp { - async fn into_service(self, tx: tokio::sync::watch::Sender) { + async fn into_service(self, tx: Sender) { let mut interval = tokio::time::interval(self.interval); loop { -- cgit v1.2.3-70-g09d2