From c8b9f72cb6e8e8ac76edcd322023ec7d3ea4de94 Mon Sep 17 00:00:00 2001 From: Desiders Date: Thu, 15 Aug 2024 00:14:53 +0300 Subject: [PATCH] Clippy changes --- telers/src/types/input_paid_media_photo.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/telers/src/types/input_paid_media_photo.rs b/telers/src/types/input_paid_media_photo.rs index cce40b0..6bf5e97 100644 --- a/telers/src/types/input_paid_media_photo.rs +++ b/telers/src/types/input_paid_media_photo.rs @@ -21,9 +21,6 @@ impl<'a> InputPaidMediaPhoto<'a> { #[must_use] pub fn media(self, val: impl Into>) -> Self { - Self { - media: val.into(), - ..self - } + Self { media: val.into() } } }