File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl Drop for ClientHandle {
35
35
let rcl_node_mtx = & mut * self . rcl_node_mtx . lock ( ) ;
36
36
// SAFETY: No preconditions for this function
37
37
unsafe {
38
- rcl_client_fini ( handle as * mut _ , rcl_node_mtx as * mut _ ) ;
38
+ rcl_client_fini ( handle, rcl_node_mtx) ;
39
39
}
40
40
}
41
41
}
Original file line number Diff line number Diff line change @@ -34,12 +34,13 @@ impl Drop for ServiceHandle {
34
34
let node_handle = & mut * self . node_handle . lock ( ) ;
35
35
// SAFETY: No preconditions for this function
36
36
unsafe {
37
- rcl_service_fini ( handle as * mut _ , node_handle as * mut _ ) ;
37
+ rcl_service_fini ( handle, node_handle) ;
38
38
}
39
39
}
40
40
}
41
41
42
- /// Trait to be implemented by concrete Service structs
42
+ /// Trait to be implemented by concrete Service structs.
43
+ ///
43
44
/// See [`Service<T>`] for an example
44
45
pub trait ServiceBase : Send + Sync {
45
46
/// Internal function to get a reference to the `rcl` handle.
You can’t perform that action at this time.
0 commit comments