about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
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()