Fix use-self
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
c3c91e9d80
commit
eae41fc411
18 changed files with 47 additions and 48 deletions
|
@ -11,7 +11,7 @@ pub struct Cork {
|
|||
impl Cork {
|
||||
pub fn new(db: &Arc<dyn KeyValueDatabaseEngine>, flush: bool, sync: bool) -> Self {
|
||||
db.cork().unwrap();
|
||||
Cork {
|
||||
Self {
|
||||
db: db.clone(),
|
||||
flush,
|
||||
sync,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue