From 355571dd8474b6712514a1ee7bbb1eab08c044a1 Mon Sep 17 00:00:00 2001 From: Daan Boerlage Date: Mon, 11 Apr 2022 21:37:08 +0100 Subject: [PATCH] cargo fmt --- src/main.rs | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/main.rs b/src/main.rs index c9992a1..4326ef3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,18 +13,10 @@ async fn main() -> Result<()> { let config = config::resolve(&args).await?; let res = match &args.command { - args::Commands::Toggle { id, state } => { - commands::toggle::exec(config, id, state).await - } - args::Commands::List => { - commands::list::exec(config).await - } - args::Commands::Inspect { id } => { - commands::inspect::exec(config, id).await - } - args::Commands::Auth => { - Err(eyre!("Not yet implemented")) - } + args::Commands::Toggle { id, state } => commands::toggle::exec(config, id, state).await, + args::Commands::List => commands::list::exec(config).await, + args::Commands::Inspect { id } => commands::inspect::exec(config, id).await, + args::Commands::Auth => Err(eyre!("Not yet implemented")), }; if let Err(e) = res {