From d9d59013c3c32810c2484c69f31d82c0ee0551f9 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 27 Aug 2019 23:37:45 -0400 Subject: minor syntax error --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 1b64c84..8b00642 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ fn post(db: &db::Conn) { &title[..30] } else { &title - } + }; println!(); println!("Body of the new post: "); @@ -103,7 +103,7 @@ fn post(db: &db::Conn) { &body[..500] } else { &body - } + }; let user = users::get_current_username() .unwrap() -- cgit 1.4.1-2-gfad0