Skip to content

Commit

Permalink
Clippy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Desiders committed Aug 14, 2024
1 parent 113ce6b commit c8b9f72
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions telers/src/types/input_paid_media_photo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ impl<'a> InputPaidMediaPhoto<'a> {

#[must_use]
pub fn media(self, val: impl Into<InputFile<'a>>) -> Self {
Self {
media: val.into(),
..self
}
Self { media: val.into() }
}
}

0 comments on commit c8b9f72

Please sign in to comment.