Code cleanup
This commit is contained in:
1 parent
1ad991667b
commit
f66bf69ef5
32 files changed
+234
-899
No files matched your search
@@ -1,7 +1,7 @@
|
||||
use crate::fs::*;
|
||||
use log::error;
|
||||
use rusqlite::Connection;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use log::error;
|
||||
|
||||
pub fn create_db() {
|
||||
let db_file = db_path();
|
||||
@@ -130,6 +130,7 @@ impl SqliteConnection {
|
||||
}
|
||||
|
||||
impl Drop for SqliteConnection {
|
||||
|
||||
fn drop(&mut self) { self.finish(); }
|
||||
}
|
||||
fn drop(&mut self) {
|
||||
self.finish();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user