From 6c11d695731987cc9ba24cea2d54ee8559f5b95d Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Mon, 14 Oct 2024 02:58:56 +0200 Subject: [PATCH] Remove unused method --- src/client/rtu.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/client/rtu.rs b/src/client/rtu.rs index 1d2eb0d..d0280da 100644 --- a/src/client/rtu.rs +++ b/src/client/rtu.rs @@ -85,18 +85,7 @@ where server: Slave, request: Request<'a>, ) -> io::Result { - self.send_request_pdu(server, request).await - } - - async fn send_request_pdu<'a, R>( - &mut self, - server: Slave, - request_pdu: R, - ) -> io::Result - where - R: Into>, - { - let request_adu = request_adu(server, request_pdu); + let request_adu = request_adu(server, request); self.send_request_adu(request_adu).await }