Closed hinto-janai closed 8 months ago
Closes https://github.com/meilisearch/heed/issues/207.
fn EnvOpenOptions::open()
unsafe fn EnvOpenOptions::open()
# Safety
unsafe
heed can actually uphold some of the safety invariants, but for now they are documented so at least users are aware of them.
heed
Unrelated change: the new Env::set_flags (https://github.com/meilisearch/heed/pull/245) doesn't necessarily gain safety from &mut self, so it is changed to &self.
Env::set_flags
&mut self
&self
Closes https://github.com/meilisearch/heed/issues/207.
fn EnvOpenOptions::open()
->unsafe fn EnvOpenOptions::open()
# Safety
documentationunsafe
heed
can actually uphold some of the safety invariants, but for now they are documented so at least users are aware of them.Unrelated change: the new
Env::set_flags
(https://github.com/meilisearch/heed/pull/245) doesn't necessarily gain safety from&mut self
, so it is changed to&self
.