We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5da056e + 5a54431 commit 5c417bdCopy full SHA for 5c417bd
generator/src/lib.rs
@@ -3,7 +3,7 @@
3
//! # Usage
4
//!
5
//! ```
6
-//! let mimes: PhfMap<&'static str, RawMediaType>
+//! let mimes: phf::Map<&'static str, RawMediaType>
7
//! = mime_map!("http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types");
8
9
src/lib.rs
@@ -17,9 +17,8 @@ extern crate phf;
17
18
use generator::RawMediaType;
19
use http::headers::content_type::MediaType;
20
-use phf::PhfMap;
21
22
-static MIMES: PhfMap<&'static str, RawMediaType>
+static MIMES: phf::Map<&'static str, RawMediaType>
23
= mime_map!("http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types");
24
25
/// Get the rust-http MediaType associated with this extension.
0 commit comments