cargo fix
This commit is contained in:
parent
cad80a5ce5
commit
53897b1c13
|
|
@ -12,7 +12,6 @@ pub use crate::db::dir::{Dir, Epoch, Rank};
|
||||||
pub use crate::db::stream::{Stream, StreamOptions};
|
pub use crate::db::stream::{Stream, StreamOptions};
|
||||||
|
|
||||||
pub struct Database {
|
pub struct Database {
|
||||||
path: PathBuf,
|
|
||||||
conn: Connection,
|
conn: Connection,
|
||||||
dirty: bool,
|
dirty: bool,
|
||||||
}
|
}
|
||||||
|
|
@ -49,7 +48,7 @@ impl Database {
|
||||||
);",
|
);",
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
Ok(Database { path, conn, dirty: false })
|
Ok(Database { conn, dirty: false })
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn save(&mut self) -> Result<()> {
|
pub fn save(&mut self) -> Result<()> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue