Cargo fmt

This commit is contained in:
LasterAlex 2024-08-30 09:15:28 +03:00
parent a52fe8eeb5
commit 83f5508495
No known key found for this signature in database
2 changed files with 3 additions and 5 deletions

View file

@ -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\")]"
}
_ => "",
};