Remove dead code.

This commit is contained in:
Martin Dahl 2024-07-04 18:18:40 +02:00
parent cae671ccda
commit 89cec03d07
2 changed files with 1 additions and 3 deletions

View File

@ -669,7 +669,6 @@ impl Node {
let ws = TypedService::<T> {
rcl_handle: service_handle,
outstanding_requests: vec![],
sender,
};

View File

@ -1,4 +1,4 @@
use futures::channel::{mpsc, oneshot};
use futures::channel::mpsc;
use std::{
ffi::CString,
mem::MaybeUninit,
@ -57,7 +57,6 @@ where
{
pub rcl_handle: rcl_service_t,
pub sender: mpsc::Sender<ServiceRequest<T>>,
pub outstanding_requests: Vec<oneshot::Receiver<(rmw_request_id_t, T::Response)>>,
}
impl<T: 'static> Service_ for TypedService<T>