Skip to content

Commit 3a9abe3

Browse files
committed
Auto merge of #7512 - Xyene:patch-1, r=alexcrichton
Fix typo in git index initialization error path This PR proposes a fix for a small typo I ran into while using `cargo`.
2 parents c25db6c + aaf8167 commit 3a9abe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/sources/registry/remote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl<'cfg> RemoteRegistry<'cfg> {
7777
let mut opts = git2::RepositoryInitOptions::new();
7878
opts.external_template(false);
7979
Ok(git2::Repository::init_opts(&path, &opts)
80-
.chain_err(|| "failed to initialized index git repository")?)
80+
.chain_err(|| "failed to initialize index git repository")?)
8181
}
8282
}
8383
})

0 commit comments

Comments
 (0)