Skip to content

Commit 5c417bd

Browse files
committed
Merge pull request #12 from DanielFerguson/fix-phfmap-naming
update phf::PhfMap to phf::Map
2 parents 5da056e + 5a54431 commit 5c417bd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

generator/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! # Usage
44
//!
55
//! ```
6-
//! let mimes: PhfMap<&'static str, RawMediaType>
6+
//! let mimes: phf::Map<&'static str, RawMediaType>
77
//! = mime_map!("http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types");
88
//! ```
99

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ extern crate phf;
1717

1818
use generator::RawMediaType;
1919
use http::headers::content_type::MediaType;
20-
use phf::PhfMap;
2120

22-
static MIMES: PhfMap<&'static str, RawMediaType>
21+
static MIMES: phf::Map<&'static str, RawMediaType>
2322
= mime_map!("http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types");
2423

2524
/// Get the rust-http MediaType associated with this extension.

0 commit comments

Comments
 (0)