Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Make method public to allow downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
david-allison committed Apr 23, 2021
1 parent c9e1205 commit 6b2410e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rslib/src/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Collection {
res
}

pub(crate) fn close(self, downgrade: bool) -> Result<()> {
pub fn close(self, downgrade: bool) -> Result<()> {
self.storage.close(downgrade)
}

Expand Down

0 comments on commit 6b2410e

Please sign in to comment.