mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-22 16:35:30 +01:00
Fix clippy
This commit is contained in:
@@ -67,7 +67,7 @@ impl Database {
|
||||
) -> Result<Database> {
|
||||
let db_header = Pager::begin_open(page_io.clone())?;
|
||||
DATABASE_VERSION.get_or_init(|| {
|
||||
let version = db_header.borrow().version_number.clone();
|
||||
let version = db_header.borrow().version_number;
|
||||
version.to_string()
|
||||
});
|
||||
io.run_once()?;
|
||||
|
||||
Reference in New Issue
Block a user