diff options
author | Joris | 2024-11-17 13:03:17 +0100 |
---|---|---|
committer | Joris | 2024-11-17 13:03:17 +0100 |
commit | 5f526ef14285b5fd2dc5892d6dd8b307981f743f (patch) | |
tree | 8e0ebeda415873ffebcf3ea10130a5ca0e73644e /src/main.rs | |
parent | fbe6787acb3c844339e34c3bf4509c36281693e6 (diff) |
Format sources
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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(()) } - |