Skip to content

Commit de1fb51

Browse files
committed
Fix style
Signed-off-by: Michael X. Grey <[email protected]>
1 parent 0e95346 commit de1fb51

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

rclrs/src/subscription.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -671,11 +671,7 @@ mod tests {
671671
use crate::vendor::example_interfaces::msg::Empty;
672672
use crate::*;
673673

674-
let args = [
675-
"--ros-args",
676-
"-p",
677-
"qos_reliability:=best_effort",
678-
].map(ToString::to_string);
674+
let args = ["--ros-args", "-p", "qos_reliability:=best_effort"].map(ToString::to_string);
679675

680676
let context = Context::new(args, InitOptions::default()).unwrap();
681677

@@ -706,7 +702,7 @@ mod tests {
706702
"test_setting_qos_from_parameters_topic".qos(expected_qos),
707703
|_: Empty| {
708704
// Do nothing
709-
}
705+
},
710706
)
711707
.unwrap();
712708

0 commit comments

Comments
 (0)