diff options
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ pub fn open_connection<P>(p: P) -> Result<Connection> | |||
11 | where | 11 | where |
12 | P: AsRef<Path> + fmt::Display, | 12 | P: AsRef<Path> + fmt::Display, |
13 | { | 13 | { |
14 | info!("Opened connection to databse"); | 14 | info!("Opened connection to database"); |
15 | Ok(Connection::open_with_flags( | 15 | Ok(Connection::open_with_flags( |
16 | &p, | 16 | &p, |
17 | OpenFlags::SQLITE_OPEN_CREATE | OpenFlags::SQLITE_OPEN_READ_WRITE, | 17 | OpenFlags::SQLITE_OPEN_CREATE | OpenFlags::SQLITE_OPEN_READ_WRITE, |