File tree 3 files changed +0
-8
lines changed
3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -866,7 +866,6 @@ mod tests {
866
866
867
867
#[ test]
868
868
fn test_create_timer ( ) -> Result < ( ) , RclrsError > {
869
- dbg ! ( ) ;
870
869
let mut executor = Context :: default ( ) . create_basic_executor ( ) ;
871
870
let node = executor. create_node ( "node_with_timer" ) ?;
872
871
@@ -875,7 +874,6 @@ mod tests {
875
874
let _repeating_timer = node. create_timer_repeating (
876
875
Duration :: from_millis ( 1 ) ,
877
876
move || {
878
- dbg ! ( ) ;
879
877
repeat_counter. fetch_add ( 1 , Ordering :: AcqRel ) ;
880
878
} ,
881
879
) ?;
@@ -886,7 +884,6 @@ mod tests {
886
884
Duration :: from_millis ( 1 )
887
885
. node_time ( ) ,
888
886
move || {
889
- dbg ! ( ) ;
890
887
oneshot_counter. fetch_add ( 1 , Ordering :: AcqRel ) ;
891
888
} ,
892
889
) ?;
@@ -896,12 +893,10 @@ mod tests {
896
893
let _oneshot_resetting_timer = node. create_timer_oneshot (
897
894
Duration :: from_millis ( 1 ) ,
898
895
move |timer : & Timer | {
899
- dbg ! ( ) ;
900
896
recursive_oneshot ( timer, oneshot_resetting_counter) ;
901
897
} ,
902
898
) ;
903
899
904
- dbg ! ( ) ;
905
900
executor. spin ( SpinOptions :: new ( ) . timeout ( Duration :: from_millis ( 10 ) ) ) ;
906
901
907
902
// We give a little leeway to the exact count since timers won't always
Original file line number Diff line number Diff line change 36
36
any_payload : & mut dyn Any ,
37
37
) -> Result < ( ) , RclrsError > {
38
38
let Some ( payload) = any_payload. downcast_mut :: < Payload > ( ) else {
39
- dbg ! ( ) ;
40
39
return Err ( RclrsError :: InvalidPayload {
41
40
expected : std:: any:: TypeId :: of :: < Payload > ( ) ,
42
41
received : ( * any_payload) . type_id ( ) ,
Original file line number Diff line number Diff line change @@ -163,8 +163,6 @@ impl WaitSetRunner {
163
163
}
164
164
} ) ;
165
165
166
- dbg ! ( & timeout) ;
167
-
168
166
let mut at_least_one = false ;
169
167
self . wait_set . wait ( timeout, |executable| {
170
168
at_least_one = true ;
You can’t perform that action at this time.
0 commit comments