diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-08-30 20:00:42 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-08-30 20:00:42 -0400 |
commit | cf0ad9b11707abef27ee4acd00f3cfd679eeff23 (patch) | |
tree | cad84ab5be8f3af9fb0f210753744b1497423815 /src/db.rs | |
parent | cf6e3518160a3cff9892483a085080a0c92bd318 (diff) | |
download | clinte-cf0ad9b11707abef27ee4acd00f3cfd679eeff23.tar.gz |
fixed broken test, expanded test v0.3.3
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 2 |
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( |