From 5f526ef14285b5fd2dc5892d6dd8b307981f743f Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 17 Nov 2024 13:03:17 +0100 Subject: Format sources --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4e2a5f2..8eafd77 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,7 +27,7 @@ fn main() -> Result<()> { let Opt { db_path, list_today, - start_between + start_between, } = Opt::parse(); let conn = db::init(&db_path)?; if list_today { @@ -35,9 +35,8 @@ fn main() -> Result<()> { } else { match start_between.and_then(cli::parse_timestamp_range) { Some((from, to)) => print!("{}", cli::start_between(&conn, from, to)?), - None => gui::run(conn) + None => gui::run(conn), } }; Ok(()) } - -- cgit v1.2.3