mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Cargo fmt
This commit is contained in:
parent
a52fe8eeb5
commit
83f5508495
2 changed files with 3 additions and 5 deletions
|
@ -223,10 +223,8 @@ fn params(params: impl Iterator<Item = impl Borrow<Param>>) -> String {
|
|||
{
|
||||
"\n #[serde(flatten)]"
|
||||
}
|
||||
Type::ArrayOf(b) if **b == Type::RawTy("MessageId".to_string()) =>
|
||||
{
|
||||
"\n #[serde(with = \
|
||||
\"crate::types::vec_msg_id_as_vec_int\")]"
|
||||
Type::ArrayOf(b) if **b == Type::RawTy("MessageId".to_string()) => {
|
||||
"\n #[serde(with = \"crate::types::vec_msg_id_as_vec_int\")]"
|
||||
}
|
||||
_ => "",
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue