You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not very well versed in rust but I assume you want to drop use phf::PhfMap and change line 22 in src/lib.rs from: static MIMES: PhfMap<&'static str, RawMediaType>
to static MIMES: phf::Map<&'static str, RawMediaType>
I'm guessing line 20 is redundant (compiles with and without once changed to use phf::Map.
Does use phf::Map override std::collections::Map?
Hopefully helpful.
Thanks!
The text was updated successfully, but these errors were encountered:
Phf seems to have changed interface a bit.
phf::PhfMap
is nowphf::Map
I'm not very well versed in rust but I assume you want to drop
use phf::PhfMap
and change line 22 in src/lib.rs from:static MIMES: PhfMap<&'static str, RawMediaType>
to
static MIMES: phf::Map<&'static str, RawMediaType>
I'm guessing line 20 is redundant (compiles with and without once changed to
use phf::Map
.Does
use phf::Map
overridestd::collections::Map
?Hopefully helpful.
Thanks!
The text was updated successfully, but these errors were encountered: