summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-27 23:37:45 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-27 23:37:45 -0400
commitd9d59013c3c32810c2484c69f31d82c0ee0551f9 (patch)
tree33b1f5d9f4f35192b88d6dde7dd2acda9413d6a1 /src
parent05649a5b2c4a122cfb1644f009825abfc7345d72 (diff)
downloadclinte-d9d59013c3c32810c2484c69f31d82c0ee0551f9.tar.gz
minor syntax error
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
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()