Skip to content
Snippets Groups Projects
Commit f987eead authored by kpcyrd's avatar kpcyrd
Browse files

Fix clippy lint

parent 63b322f6
Branches fedora
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ pub async fn sync(sync: &PkgsSync) -> Result<Vec<PkgGroup>> { ...@@ -20,7 +20,7 @@ pub async fn sync(sync: &PkgsSync) -> Result<Vec<PkgGroup>> {
let mut bases: HashMap<_, PkgGroup> = HashMap::new(); let mut bases: HashMap<_, PkgGroup> = HashMap::new();
for arch in &sync.architectures { for arch in &sync.architectures {
let mut url = url.clone(); let mut url = url.clone();
url.push_str(&arch); url.push_str(arch);
url.push_str("/os/"); url.push_str("/os/");
let bytes = fetch_url_or_path(&client, &format!("{url}repodata/repomd.xml")).await?; let bytes = fetch_url_or_path(&client, &format!("{url}repodata/repomd.xml")).await?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment