From ff86aa5f8a6f20cd4555dab7d8c2218b65e0f0b3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 5 Jul 2022 13:23:14 +0200 Subject: [PATCH] compression: more cleanups Signed-off-by: Wolfgang Bumiller --- proxmox-compression/src/zip.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proxmox-compression/src/zip.rs b/proxmox-compression/src/zip.rs index fb110d13..234cf4fb 100644 --- a/proxmox-compression/src/zip.rs +++ b/proxmox-compression/src/zip.rs @@ -666,8 +666,7 @@ where encoder.add_entry(ze, content).await?; } // ignore other file types - let ok: Result<(), Error> = Ok(()); - ok + Ok::<(), Error>(()) } .await {