File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,11 @@ where
9999 // The topic name and the options are copied by this function, so they can be dropped
100100 // afterwards.
101101 {
102- let mut rcl_node = node_handle. rcl_node . lock ( ) . unwrap ( ) ;
102+ let rcl_node = node_handle. rcl_node . lock ( ) . unwrap ( ) ;
103103 let _lifecycle_lock = ENTITY_LIFECYCLE_MUTEX . lock ( ) . unwrap ( ) ;
104104 rcl_client_init (
105105 & mut rcl_client,
106- & mut * rcl_node,
106+ & * rcl_node,
107107 type_support,
108108 topic_c_string. as_ptr ( ) ,
109109 & client_options,
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ impl InitOptions {
219219 if let Some ( domain_id) = self . domain_id {
220220 rcl_init_options_set_domain_id ( & mut rcl_init_options, domain_id as usize ) ;
221221 }
222- return Ok ( rcl_init_options) ;
222+ Ok ( rcl_init_options)
223223 }
224224 }
225225}
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ impl NodeBuilder {
288288 let parameter = {
289289 let rcl_node = handle. rcl_node . lock ( ) . unwrap ( ) ;
290290 ParameterInterface :: new (
291- & * rcl_node,
291+ & rcl_node,
292292 & rcl_node_options. arguments ,
293293 & rcl_context. global_arguments ,
294294 ) ?
You can’t perform that action at this time.
0 commit comments