Skip to content

src/lib.rs:35:11: 35:26 error: type phf::map::Map<&'static str, RawMediaType> does not implement any method in scope named find_equiv #16

Closed
@tarcieri

Description

@tarcieri
   Compiling content_type v0.1.0 (https://github.com/reem/rust-http-content-type.git#096be5c0)
src/lib.rs:35:11: 35:26 error: type `phf::map::Map<&'static str, RawMediaType>` does not implement any method in scope named `find_equiv`
src/lib.rs:35     MIMES.find_equiv(ext)
                        ^~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions