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
99
99
// The topic name and the options are copied by this function, so they can be dropped
100
100
// afterwards.
101
101
{
102
- let mut rcl_node = node_handle. rcl_node . lock ( ) . unwrap ( ) ;
102
+ let rcl_node = node_handle. rcl_node . lock ( ) . unwrap ( ) ;
103
103
let _lifecycle_lock = ENTITY_LIFECYCLE_MUTEX . lock ( ) . unwrap ( ) ;
104
104
rcl_client_init (
105
105
& mut rcl_client,
106
- & mut * rcl_node,
106
+ & * rcl_node,
107
107
type_support,
108
108
topic_c_string. as_ptr ( ) ,
109
109
& client_options,
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ impl InitOptions {
219
219
if let Some ( domain_id) = self . domain_id {
220
220
rcl_init_options_set_domain_id ( & mut rcl_init_options, domain_id as usize ) ;
221
221
}
222
- return Ok ( rcl_init_options) ;
222
+ Ok ( rcl_init_options)
223
223
}
224
224
}
225
225
}
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ impl NodeBuilder {
288
288
let parameter = {
289
289
let rcl_node = handle. rcl_node . lock ( ) . unwrap ( ) ;
290
290
ParameterInterface :: new (
291
- & * rcl_node,
291
+ & rcl_node,
292
292
& rcl_node_options. arguments ,
293
293
& rcl_context. global_arguments ,
294
294
) ?
You can’t perform that action at this time.
0 commit comments