Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ proc-macro2 = "1"
log = "0.4"
mac = "0.1"
tendril = "0.4"
string_cache = "0.8.8"
string_cache_codegen = "0.5.4"
phf = "0.11"
phf_codegen = "0.11"
string_cache = "0.9.0"
string_cache_codegen = "0.6.0"
phf = "0.13"
phf_codegen = "0.13"

# Dev dependencies
criterion = "0.6"
Expand Down
4 changes: 2 additions & 2 deletions web_atoms/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn main() {
writeln!(
generated,
r#"
/// Maps the input of [`namespace_prefix!`](macro.namespace_prefix.html) to
/// Maps the input of [`namespace_prefix!`](macro.namespace_prefix.html) to
/// the output of [`namespace_url!`](macro.namespace_url.html).
///
#[macro_export] macro_rules! ns {{
Expand Down Expand Up @@ -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();
Expand Down