Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Oct 17, 2024
1 parent 8b18901 commit 8ee73c4
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/client/rtu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,7 @@ where
server: Slave,
request: Request<'a>,
) -> io::Result<RequestContext> {
self.send_request_pdu(server, request).await
}

async fn send_request_pdu<'a, R>(
&mut self,
server: Slave,
request_pdu: R,
) -> io::Result<RequestContext>
where
R: Into<RequestPdu<'a>>,
{
let request_adu = request_adu(server, request_pdu);
let request_adu = request_adu(server, request);
self.send_request_adu(request_adu).await
}

Expand Down

0 comments on commit 8ee73c4

Please sign in to comment.