From 22bb8d7c06b06d3e9dd77aa7531228dde6e78e28 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 28 Mar 2024 10:54:51 +0100 Subject: [PATCH] Fix unused import warning --- libraries/extensions/ros2-bridge/msg-gen/src/types/service.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/extensions/ros2-bridge/msg-gen/src/types/service.rs b/libraries/extensions/ros2-bridge/msg-gen/src/types/service.rs index 6caa1483b..26b628f9c 100644 --- a/libraries/extensions/ros2-bridge/msg-gen/src/types/service.rs +++ b/libraries/extensions/ros2-bridge/msg-gen/src/types/service.rs @@ -161,9 +161,6 @@ impl Service { #[allow(non_snake_case)] pub fn #create_server(&mut self, name_space: &str, base_name: &str, qos: ffi::Ros2QosPolicies, events: &mut crate::ffi::CombinedEvents) -> eyre::Result> { - use futures::StreamExt as _; - use futures::FutureExt as _; - let server = self.node.create_server::< #package :: service :: #self_name >( ros2_client::ServiceMapping::Enhanced, &ros2_client::Name::new(name_space, base_name).unwrap(),