mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 18:46:59 +05:30
fix: resolve clippy warnings
This commit is contained in:
parent
7268dd54af
commit
088c55df6d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ use walkdir::WalkDir;
|
|||
|
||||
pub(crate) fn freeze_repos(dir: &str) -> anyhow::Result<()> {
|
||||
let mut repos: HashMap<String, PersistableRepo> = HashMap::new();
|
||||
for entry in WalkDir::new(dir).into_iter().filter_map(|e| e.ok()) {
|
||||
for entry in WalkDir::new(dir).into_iter().filter_map(std::result::Result::ok) {
|
||||
if entry.file_type().is_dir() {
|
||||
let path = format!("{}/.git", entry.path().display());
|
||||
let git_dir = Path::new(&path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue