From d8642beb59acc924b4ac27221e34a710d78a6093 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sun, 29 Jun 2025 13:15:05 +0200 Subject: [PATCH] chore: run cargo fix --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f27c4e1..57d233b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -158,8 +158,8 @@ async fn handle_list_releases(config: &config::Config, alias: &str) -> Result<() #[tokio::main] async fn main() -> Result<(), Box> { - let (tx_ctrlc, rx_ctrlc) = channel(); - + let (tx_ctrlc, _rx_ctrlc) = channel(); + ctrlc::set_handler(move || tx_ctrlc.send(()).expect("Could not send signal on channel.")) .expect("Error setting Ctrl-C handler");