From 936acbc496e432906035ee45d763e35f6f87bae5 Mon Sep 17 00:00:00 2001 From: Jonah Petri Date: Thu, 29 Oct 2020 21:01:33 -0400 Subject: [PATCH] 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. --- src/cargo/ops/vendor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/vendor.rs b/src/cargo/ops/vendor.rs index 3b087f6e37c..5e1c0568ee0 100644 --- a/src/cargo/ops/vendor.rs +++ b/src/cargo/ops/vendor.rs @@ -33,7 +33,7 @@ pub fn vendor(ws: &Workspace<'_>, opts: &VendorOptions<'_>) -> CargoResult<()> { if config.shell().verbosity() != Verbosity::Quiet { crate::drop_eprint!( config, - "To use vendored sources, add this to your .cargo/config for this project:\n\n" + "To use vendored sources, add this to your .cargo/config.toml for this project:\n\n" ); crate::drop_print!(config, "{}", &toml::to_string(&vendor_config).unwrap()); }