Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Feb 14, 2025
1 parent 2716810 commit f3dc20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cdk-redb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ use std::path::{Path, PathBuf};

use cdk_common::database;

use crate::error::Error;

#[cfg(feature = "mint")]
pub use mint::MintRedbDatabase;
#[cfg(feature = "wallet")]
pub use wallet::WalletRedbDatabase;

use crate::error::Error;

fn backup(work_dir: &Path, db_file_path: &PathBuf, backups_to_keep: u8) -> Result<(), Error> {
if let Some(new_backup_file) =
database::prepare_backup(work_dir, "redb", backups_to_keep).map_err(Error::DbBackup)?
Expand Down

0 comments on commit f3dc20b

Please sign in to comment.