diff --git a/src/db_options.rs b/src/db_options.rs index 34462a5..177bd2e 100644 --- a/src/db_options.rs +++ b/src/db_options.rs @@ -3303,7 +3303,7 @@ impl ReadOptions { /// Sets the snapshot which should be used for the read. /// The snapshot must belong to the DB that is being read and must /// not have been released. - pub(crate) fn set_snapshot(&mut self, snapshot: &SnapshotWithThreadMode) { + pub fn set_snapshot(&mut self, snapshot: &SnapshotWithThreadMode) { unsafe { ffi::rocksdb_readoptions_set_snapshot(self.inner, snapshot.inner); }