From 5bed4e87581ee560b2ec62fd5f48c500acd30636 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 2 Jul 2022 12:52:24 +0800 Subject: [PATCH] fix typo --- src/cargo/sources/git/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/sources/git/utils.rs b/src/cargo/sources/git/utils.rs index de6266a415b..2bfde79418b 100644 --- a/src/cargo/sources/git/utils.rs +++ b/src/cargo/sources/git/utils.rs @@ -529,7 +529,7 @@ where // // If ssh-agent authentication fails, libgit2 will keep calling this // callback asking for other authentication methods to try. Check - // cred_helper_bad to make sure we only try the git credentail helper + // cred_helper_bad to make sure we only try the git credential helper // once, to avoid looping forever. if allowed.contains(git2::CredentialType::USER_PASS_PLAINTEXT) && cred_helper_bad.is_none() {