From ca9bde6c20cf70e980cb9de768c5130a3ca54090 Mon Sep 17 00:00:00 2001 From: ChenYing Kuo Date: Fri, 27 Dec 2024 14:43:43 +0800 Subject: [PATCH] Fix clippy. Signed-off-by: ChenYing Kuo --- zenoh-test-ros2dds/tests/action.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenoh-test-ros2dds/tests/action.rs b/zenoh-test-ros2dds/tests/action.rs index 9a5859b..c8af909 100644 --- a/zenoh-test-ros2dds/tests/action.rs +++ b/zenoh-test-ros2dds/tests/action.rs @@ -55,7 +55,7 @@ fn test_ros_client_zenoh_action() { let (sender, receiver) = std::sync::mpsc::channel(); - rt.spawn(async { + rt.spawn(async move { common::init_env(); // We send request 5 and expect result [0, 1, 1, 2, 3, 5] @@ -159,7 +159,7 @@ fn test_zenoh_client_ros_action() { let (sender, receiver) = std::sync::mpsc::channel(); - rt.spawn(async { + rt.spawn(async move { common::init_env(); // We send request 5 and expect result [0, 1, 1, 2, 3, 5]