Skip to content

Commit 936acbc

Browse files
authored
vendor: correct the path to cargo config
When running `cargo vendor`, users are prompted to add the configuration to their cargo config. Unfortunately, the path named is not correct, as it's lacking the correct suffix.
1 parent 7197c66 commit 936acbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/vendor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn vendor(ws: &Workspace<'_>, opts: &VendorOptions<'_>) -> CargoResult<()> {
3333
if config.shell().verbosity() != Verbosity::Quiet {
3434
crate::drop_eprint!(
3535
config,
36-
"To use vendored sources, add this to your .cargo/config for this project:\n\n"
36+
"To use vendored sources, add this to your .cargo/config.toml for this project:\n\n"
3737
);
3838
crate::drop_print!(config, "{}", &toml::to_string(&vendor_config).unwrap());
3939
}

0 commit comments

Comments
 (0)