Skip to content

Commit

Permalink
Fix unused import warning
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Mar 28, 2024
1 parent d4ed69f commit e9f102c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libraries/extensions/ros2-bridge/msg-gen/src/types/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Box<#server_name>> {
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(),
Expand Down

0 comments on commit e9f102c

Please sign in to comment.