diff options
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( |