mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Fix clippy
This commit is contained in:
parent
e9ba458514
commit
f7304a15a6
1 changed files with 1 additions and 1 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue