cargo fix

This commit is contained in:
lengyijun 2026-02-19 20:30:17 +08:00
parent cad80a5ce5
commit 53897b1c13
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ pub use crate::db::dir::{Dir, Epoch, Rank};
pub use crate::db::stream::{Stream, StreamOptions};
pub struct Database {
path: PathBuf,
conn: Connection,
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<()> {