simplify cork interface related

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-07-03 06:34:16 +00:00
1 parent a1ced0a56f
commit 6dd6e4bfaf
10 files changed
+26 -22

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ pub struct Cork {
}
impl Cork {
pub fn new(db: &Arc<Engine>, flush: bool, sync: bool) -> Self {
pub(super) fn new(db: &Arc<Engine>, flush: bool, sync: bool) -> Self {
db.cork();
Self {
db: db.clone(),