summary refs log tree commit diff stats
path: root/src/main.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-28 00:01:42 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-28 00:01:42 -0400
commit7e4251d8aad41852e18ce9449c3e818cbca44fe0 (patch)
tree7e5da25ad1fc39a6c88110b4a6854002cc596aa8 /src/main.rs
parentc664e872aaa0f99a96c191ffbbf06e85851df726 (diff)
downloadclinte-7e4251d8aad41852e18ce9449c3e818cbca44fe0.tar.gz
cleanup
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 48c6802..3f9d2a8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -109,5 +109,6 @@ fn post(db: &db::Conn) {
         .into_string()
         .unwrap();
 
-    stmt.execute_named(&[(":title", &title), (":author", &user), (":body", &body)]);
+    stmt.execute_named(&[(":title", &title), (":author", &user), (":body", &body)])
+        .unwrap();
 }