Skip to content

Commit 3dead39

Browse files
committed
Update phf to 0.13
Depends on servo/string-cache#295
1 parent 49e1027 commit 3dead39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ proc-macro2 = "1"
3232
log = "0.4"
3333
mac = "0.1"
3434
tendril = "0.4"
35-
string_cache = "0.8.8"
36-
string_cache_codegen = "0.5.4"
37-
phf = "0.11"
38-
phf_codegen = "0.11"
35+
string_cache = "0.9.0"
36+
string_cache_codegen = "0.6.0"
37+
phf = "0.13"
38+
phf_codegen = "0.13"
3939

4040
# Dev dependencies
4141
criterion = "0.6"

web_atoms/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn main() {
6565
writeln!(
6666
generated,
6767
r#"
68-
/// Maps the input of [`namespace_prefix!`](macro.namespace_prefix.html) to
68+
/// Maps the input of [`namespace_prefix!`](macro.namespace_prefix.html) to
6969
/// the output of [`namespace_url!`](macro.namespace_url.html).
7070
///
7171
#[macro_export] macro_rules! ns {{
@@ -101,7 +101,7 @@ fn named_entities_to_phf(to: &Path) {
101101

102102
let mut phf_map = phf_codegen::Map::new();
103103
for (key, value) in entities {
104-
phf_map.entry(key, &format!("{value:?}"));
104+
phf_map.entry(key, format!("{value:?}"));
105105
}
106106

107107
let mut file = File::create(to).unwrap();

0 commit comments

Comments
 (0)