mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-12 11:33:58 +02:00
refactor: Replace remaining std Mutexes
This commit is contained in:
parent
b2644b4652
commit
a047cb600e
11 changed files with 83 additions and 117 deletions
|
@ -71,7 +71,7 @@ pub fn backup_count(&self) -> Result<usize> {
|
|||
fn backup_engine(&self) -> Result<BackupEngine> {
|
||||
let path = self.backup_path()?;
|
||||
let options = BackupEngineOptions::new(path).map_err(map_err)?;
|
||||
BackupEngine::open(&options, &*self.ctx.env.lock()?).map_err(map_err)
|
||||
BackupEngine::open(&options, &self.ctx.env.lock()).map_err(map_err)
|
||||
}
|
||||
|
||||
#[implement(Engine)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue