Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswanson-dfinity committed Jan 8, 2024
1 parent 62f2821 commit 694e643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dfx/assets/prepare_assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 694e643

Please sign in to comment.