chore: run cargo fix
This commit is contained in:
parent
53de4cd18e
commit
d8642beb59
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ async fn handle_list_releases(config: &config::Config, alias: &str) -> Result<()
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
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."))
|
ctrlc::set_handler(move || tx_ctrlc.send(()).expect("Could not send signal on channel."))
|
||||||
.expect("Error setting Ctrl-C handler");
|
.expect("Error setting Ctrl-C handler");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue