From 18a22b63527f09a6c68ea057adf463de2d93342d Mon Sep 17 00:00:00 2001 From: kangalio Date: Tue, 31 Oct 2023 13:15:53 +0100 Subject: [PATCH] Update src/builder/edit_interaction_response.rs Co-authored-by: Michael Krasnitski <42564254+mkrasnitski@users.noreply.github.com> --- src/builder/edit_interaction_response.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/builder/edit_interaction_response.rs b/src/builder/edit_interaction_response.rs index 1523175d5b2..956570a86d6 100644 --- a/src/builder/edit_interaction_response.rs +++ b/src/builder/edit_interaction_response.rs @@ -83,10 +83,8 @@ impl EditInteractionResponse { /// Adds a new attachment to the message. /// - /// Resets existing attachments. See [`Self::keep_existing_attachment`] or read - /// [`EditAttachments`] for explanation. + /// Resets existing attachments. See the documentation for [`EditAttachments`] for details. pub fn new_attachment(self, attachment: CreateAttachment) -> Self { - #[allow(deprecated)] Self(self.0.new_attachment(attachment)) }