Skip to content

Commit

Permalink
chrono-tz-build: resolve fixme
Browse files Browse the repository at this point in the history
linked issue foxed long ago rust-phf/rust-phf#232
  • Loading branch information
klensy authored and djc committed Jul 12, 2024
1 parent ca52db8 commit 2a675e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chrono-tz-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@ fn write_timezone_file(timezone_file: &mut File, table: &Table) -> io::Result<()
writeln!(
timezone_file,
"static TIMEZONES_UNCASED: ::phf::Map<&'static uncased::UncasedStr, Tz> = \n{};",
// FIXME(petrosagg): remove this once rust-phf/rust-phf#232 is released
map.build()
.to_string()
.replace("::std::mem::transmute", "::core::mem::transmute")
)?;
}

Expand Down

0 comments on commit 2a675e2

Please sign in to comment.