summary refs log tree commit diff stats
path: root/src/db.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-30 20:00:42 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-30 20:00:42 -0400
commitcf0ad9b11707abef27ee4acd00f3cfd679eeff23 (patch)
treecad84ab5be8f3af9fb0f210753744b1497423815 /src/db.rs
parentcf6e3518160a3cff9892483a085080a0c92bd318 (diff)
downloadclinte-cf0ad9b11707abef27ee4acd00f3cfd679eeff23.tar.gz
fixed broken test, expanded test v0.3.3
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.rs b/src/db.rs
index b79a789..d09ce21 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -18,7 +18,7 @@ pub struct Conn {
 }
 
 impl Conn {
-    fn init(path: &str) -> rusqlite::Connection {
+    pub fn init(path: &str) -> rusqlite::Connection {
         let start = time::Instant::now();
         info!("Connecting to database");
         let conn = rusqlite::Connection::open_with_flags(