diff --git a/crates/milli/src/index.rs b/crates/milli/src/index.rs index 1f006b316..d65d32e0d 100644 --- a/crates/milli/src/index.rs +++ b/crates/milli/src/index.rs @@ -374,7 +374,7 @@ impl Index { } /// Get the version of the database. `None` if it was never set. - pub(crate) fn get_version(&self, rtxn: &RoTxn<'_>) -> heed::Result> { + pub fn get_version(&self, rtxn: &RoTxn<'_>) -> heed::Result> { self.main.remap_types::().get(rtxn, main_key::VERSION_KEY) }