Skip to content

Commit ea01165

Browse files
committed
change visibility of internal fn
1 parent cba057b commit ea01165

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/keyspace.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ impl Keyspace {
220220
/// Needed to open a keyspace without threads for testing.
221221
///
222222
/// Should not be user-facing.
223-
fn create_or_recover(config: Config) -> crate::Result<Self> {
223+
#[doc(hidden)]
224+
pub fn create_or_recover(config: Config) -> crate::Result<Self> {
224225
log::info!("Opening keyspace at {}", config.path.display());
225226

226227
if config.path.join(FJALL_MARKER).try_exists()? {

0 commit comments

Comments
 (0)