From 6f3b66719e2375e620c1d9fd4a460e7e4ea23120 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Tue, 7 Jun 2022 12:28:18 +0200 Subject: fix clippy lints --- src/update/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/update') diff --git a/src/update/mod.rs b/src/update/mod.rs index 609b35e..d2d6494 100644 --- a/src/update/mod.rs +++ b/src/update/mod.rs @@ -7,7 +7,7 @@ use crate::repo::{Repo, RepoError, Repos}; impl crate::GTree { pub fn update(&self, repos: Repos) { - for (name, repo) in repos { + for (_name, repo) in repos { let mut repo = repo.write().unwrap(); if repo.repo.is_some() { -- cgit v1.2.3