Make new clippy happy

This commit is contained in:
2021-12-21 16:15:12 +01:00
parent 0b181b9b79
commit 4a9f1bc278
2 changed files with 3 additions and 2 deletions

View File

@@ -323,6 +323,7 @@ fn get_actual_git_directory(path: &Path, is_worktree: bool) -> PathBuf {
///
/// The bool in the return value specifies whether there is a repository
/// in root itself.
#[allow(clippy::type_complexity)]
fn find_repos(root: &Path) -> Result<Option<(Vec<RepoConfig>, Vec<String>, bool)>, String> {
let mut repos: Vec<RepoConfig> = Vec::new();
let mut repo_in_root = false;