Skip to content

Commit 91756ca

Browse files
committed
Fix a TODO for peace of mind.
Signed-off-by: Agustin Alba Chicar <[email protected]>
1 parent 1eb1acc commit 91756ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclrs/src/wait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl WaitSet {
331331
// Passing in a null pointer for the third argument is explicitly allowed.
332332
rcl_wait_set_add_timer(
333333
&mut self.handle.rcl_wait_set,
334-
&*(*(*timer).rcl_timer).lock().unwrap() as *const _, // TODO :)
334+
&* timer.rcl_timer.lock().unwrap() as *const _,
335335
core::ptr::null_mut(),
336336
)
337337
}

0 commit comments

Comments
 (0)