From e42a73688772f35cf0e97865c15e5bb10b4e2d2b Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Fri, 30 Aug 2019 12:54:40 -0400 Subject: redundant code removed --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 2ae609a..dd532a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,6 @@ use clap; use log::info; use std::io; -use std::process; use std::time; use users; @@ -40,8 +39,6 @@ fn main() { if arg_matches.subcommand_matches("post").is_some() { info!("New post..."); post(&db); - list_matches(&db); - process::exit(0); } list_matches(&db); -- cgit 1.4.1-2-gfad0