Resolves a expect_fun_call lint warning
Resolves a expect_fun_call lint warning

    warning: use of `expect` followed by a function call
       --> src/lib.rs:192:22
        |
    192 |                     .expect(format!("could not parse media type for preview {}", codename).as_str())
        |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!(format!("could not parse media type for preview {}", codename).as_str()))`
        |
        = note: #[warn(expect_fun_call)] on by default
        = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#expect_fun_call

softprops/hubcaps,softprops/gust