~gbmor/clinte

0c32375287202d01cc12323402a6c6f55a8104a1 — Ben Morrison 1 year, 1 month ago fdab1b0
moved startup timer to end of execution, as run timer
1 files changed, 4 insertions(+), 4 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +4 -4
@@ 21,10 21,6 @@ fn main() {
    println!("a community notices system");
    println!();

    if *conf::DEBUG {
        log::info!("Startup completed in {:?}ms", start.elapsed().as_millis());
    }

    if arg_matches.subcommand_matches("post").is_some() {
        log::info!("New post...");
        error::helper(posts::create(), "Error creating new post");


@@ 57,4 53,8 @@ fn main() {
    }

    error::helper(posts::display(), "Error displaying posts");

    if *conf::DEBUG {
        log::info!("Run completed in {:?}ms", start.elapsed().as_millis());
    }
}