From e19070f935e81f7f1fb7c577bed0cce269b3c7cd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 15:44:07 +0100 Subject: [PATCH] Fix clippy: Remove unneeded clone() call Signed-off-by: Matthias Beyer --- src/status_builder.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status_builder.rs b/src/status_builder.rs index c99922e..645d7e9 100644 --- a/src/status_builder.rs +++ b/src/status_builder.rs @@ -210,10 +210,10 @@ impl StatusBuilder { status: self.status.clone(), in_reply_to_id: self.in_reply_to_id.clone(), media_ids: self.media_ids.clone(), - sensitive: self.sensitive.clone(), + sensitive: self.sensitive, spoiler_text: self.spoiler_text.clone(), - visibility: self.visibility.clone(), - language: self.language.clone(), + visibility: self.visibility, + language: self.language, content_type: self.content_type.clone(), }) }