diff --git a/web_atoms/Cargo.toml b/web_atoms/Cargo.toml index 88402e84..73d2dbd3 100644 --- a/web_atoms/Cargo.toml +++ b/web_atoms/Cargo.toml @@ -20,4 +20,4 @@ phf = "0.11" [build-dependencies] string_cache_codegen = "0.5.4" -phf_codegen = "0.11" +phf_codegen = "0.12" diff --git a/web_atoms/build.rs b/web_atoms/build.rs index 73cad2f3..52813530 100644 --- a/web_atoms/build.rs +++ b/web_atoms/build.rs @@ -101,7 +101,7 @@ fn named_entities_to_phf(to: &Path) { let mut phf_map = phf_codegen::Map::new(); for (key, value) in entities { - phf_map.entry(key, &format!("{value:?}")); + phf_map.entry(key, format!("{value:?}")); } let mut file = File::create(to).unwrap();