From d967d8f1a7c15af7616c048595c12ce43303b84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 20 Jan 2021 13:21:44 +0100 Subject: [PATCH] clippy: remove drop(&..) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it does nothing. Signed-off-by: Fabian Grünbichler --- src/api2/tape/media.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api2/tape/media.rs b/src/api2/tape/media.rs index cbbe80c5..6c880944 100644 --- a/src/api2/tape/media.rs +++ b/src/api2/tape/media.rs @@ -194,7 +194,6 @@ pub fn destroy_media(label_text: String, force: Option,) -> Result<(), Err } let uuid = media_id.label.uuid.clone(); - drop(media_id); inventory.remove_media(&uuid)?;