Skip to content

Commit

Permalink
fix: update const strings for Rust 1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryConrad committed Nov 17, 2023
1 parent 4570a4e commit 872034b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mimir/native/src/embedded_milli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ struct Instance {
}

impl Instance {
const INSTANCE_DATA_DB_DIR_NAME: &str = "mimir_instance_data.mdb";
const INDEX_MILLI_VERSIONS_DB_NAME: &str = "index_versions";
const INSTANCE_DATA_DB_DIR_NAME: &'static str = "mimir_instance_data.mdb";
const INDEX_MILLI_VERSIONS_DB_NAME: &'static str = "index_versions";

fn new(instance_dir: &str) -> Result<Self> {
let path = Path::new(instance_dir).join(Self::INSTANCE_DATA_DB_DIR_NAME);
Expand Down

0 comments on commit 872034b

Please sign in to comment.