From 694e643eab68ee8c17c2e0f74dcf72f94e9af9b7 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Mon, 8 Jan 2024 12:24:27 -0800 Subject: [PATCH] clippy --- src/dfx/assets/prepare_assets.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dfx/assets/prepare_assets.rs b/src/dfx/assets/prepare_assets.rs index ffc6f03d8b..54f2849994 100644 --- a/src/dfx/assets/prepare_assets.rs +++ b/src/dfx/assets/prepare_assets.rs @@ -226,7 +226,8 @@ async fn download_bin_tarballs( spawn(download_and_check_sha(client, source)) }); let (motoko,) = tokio::try_join!(motoko,).unwrap(); - for tar in [motoko] { + { + let tar = motoko; tar_xzf(&tar, |path, content| { map.insert(path, content); });