Skip to content

Commit 7a77aaa

Browse files
committed
build.rs: fix "does not live long enough" error
caused by the update of phf_codegen
1 parent 5cb3a89 commit 7a77aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn main() {
5353
let mut phf_map = phf_codegen::OrderedMap::<&str>::new();
5454
for krate in &crates {
5555
let map_value = format!("({krate}::uumain, {krate}::uu_app)");
56-
phf_map.entry(krate, &map_value);
56+
phf_map.entry(krate, map_value);
5757
}
5858
write!(mf, "{}", phf_map.build()).unwrap();
5959
mf.write_all(b"\n}\n").unwrap();

0 commit comments

Comments
 (0)