Make clippy happy

This commit is contained in:
2022-12-12 14:46:08 +01:00
parent 5fc1d2148f
commit 6e79dd318a
4 changed files with 7 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ fn find_repos(root: &Path) -> Result<Option<(Vec<repo::Repo>, Vec<String>, bool)
},
)
} else {
let name = path.strip_prefix(&root).unwrap();
let name = path.strip_prefix(root).unwrap();
let namespace = name.parent().unwrap();
(
if namespace != Path::new("") {