From 18633890f22374fa6480e38eec70197d7e51fbc6 Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Sun, 2 Jan 2022 19:45:29 -0800 Subject: [PATCH] fixed control_c flag call --- src/tests/main_tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tests/main_tests.rs b/src/tests/main_tests.rs index a506ab3..2266115 100644 --- a/src/tests/main_tests.rs +++ b/src/tests/main_tests.rs @@ -11,9 +11,8 @@ fn it_works() { #[test] fn can_make_ctrl_c_handler() { - let (control_c_flag_tx_1, _control_c_called_flag_rx_1) = sync_flag::new_syncflag(false); let (control_c_flag_tx, _control_c_called_flag_rx) = sync_flag::new_syncflag(false); - crate::setup_control_c(control_c_flag_tx, control_c_flag_tx_1); + crate::setup_control_c(control_c_flag_tx); drop(_control_c_called_flag_rx); }