From e1e3c3c5c9d92782731ce9dc5d1394704d0ede51 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 21:49:33 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/http.rs | 2 +- src/plugins/core/python.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/http.rs b/src/http.rs index d3a7c2087..10c2c6db0 100644 --- a/src/http.rs +++ b/src/http.rs @@ -60,7 +60,7 @@ impl Client { Ok(resp.bytes().await?) }) } - + pub async fn get_async(&self, url: U) -> Result { let get = |url: Url| async move { debug!("GET {}", &url); diff --git a/src/plugins/core/python.rs b/src/plugins/core/python.rs index 4f349b377..c6c8a88dd 100644 --- a/src/plugins/core/python.rs +++ b/src/plugins/core/python.rs @@ -12,13 +12,13 @@ use crate::toolset::{ToolRequest, ToolVersion, Toolset}; use crate::ui::progress_report::SingleReport; use crate::{cmd, dirs, file, plugins}; use eyre::{bail, eyre}; +use flate2::read::GzDecoder; use itertools::Itertools; use once_cell::sync::Lazy; use std::collections::BTreeMap; -use std::io::{Read}; +use std::io::Read; use std::path::{Path, PathBuf}; use std::sync::{Arc, OnceLock}; -use flate2::read::GzDecoder; use versions::Versioning; use xx::regex;