mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-19 21:49:00 +01:00
stop using serde internall module
This commit is contained in:
parent
84df33dbef
commit
b93947c0ab
1 changed files with 1 additions and 4 deletions
|
@ -70,10 +70,7 @@ struct MimeVisitor;
|
||||||
impl<'a> Visitor<'a> for MimeVisitor {
|
impl<'a> Visitor<'a> for MimeVisitor {
|
||||||
type Value = MimeDe;
|
type Value = MimeDe;
|
||||||
|
|
||||||
fn expecting(
|
fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
|
||||||
&self,
|
|
||||||
formatter: &mut fmt::Formatter<'_>,
|
|
||||||
) -> Result<(), serde::export::fmt::Error> {
|
|
||||||
formatter.write_str("mime type")
|
formatter.write_str("mime type")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue