mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
Fix nitpicks
This commit is contained in:
parent
79147a9baa
commit
765468224c
2 changed files with 4 additions and 2 deletions
|
@ -47,10 +47,10 @@ impl MessageReactionUpdated {
|
|||
#[derive(Deserialize)]
|
||||
struct ActorDe {
|
||||
/// The user that changed the reaction, if the user isn't anonymous
|
||||
pub user: Option<User>,
|
||||
user: Option<User>,
|
||||
/// The chat on behalf of which the reaction was changed, if the user is
|
||||
/// anonymous
|
||||
pub actor_chat: Option<Chat>,
|
||||
actor_chat: Option<Chat>,
|
||||
}
|
||||
|
||||
fn deserialize_actor<'d, D: Deserializer<'d>>(d: D) -> Result<MaybeAnonymousUser, D::Error> {
|
||||
|
|
|
@ -954,6 +954,8 @@ mod test {
|
|||
location: None,
|
||||
join_to_send_messages: None,
|
||||
join_by_request: None,
|
||||
custom_emoji_sticker_set_name: None,
|
||||
unrestrict_boost_count: None,
|
||||
}),
|
||||
description: None,
|
||||
invite_link: None,
|
||||
|
|
Loading…
Reference in a new issue