stop using serde internall module

This commit is contained in:
Waffle 2021-01-15 22:19:42 +03:00
parent 84df33dbef
commit b93947c0ab

View file

@ -70,10 +70,7 @@ struct MimeVisitor;
impl<'a> Visitor<'a> for MimeVisitor {
type Value = MimeDe;
fn expecting(
&self,
formatter: &mut fmt::Formatter<'_>,
) -> Result<(), serde::export::fmt::Error> {
fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
formatter.write_str("mime type")
}