From c8f8ae2405f2d3ba5f0b779eede6227210386999 Mon Sep 17 00:00:00 2001 From: oneofthezombies Date: Tue, 13 Feb 2024 05:07:10 +0900 Subject: [PATCH] test: add no capture for name log --- crates/libs/kill_tree/tests/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/libs/kill_tree/tests/test.rs b/crates/libs/kill_tree/tests/test.rs index 24ccde6..36127ce 100644 --- a/crates/libs/kill_tree/tests/test.rs +++ b/crates/libs/kill_tree/tests/test.rs @@ -50,7 +50,7 @@ fn kill_tree_default() { } => { assert_eq!(*process_id, target_process_id); assert_eq!(*parent_process_id, std::process::id()); - println!("name: {}", name); + println!("name: {name}"); assert!(name.starts_with("node")); } kill_tree::Output::MaybeAlreadyTerminated { .. } => {