Skip to content

Commit 1c3f7a5

Browse files
committed
Auto merge of #11753 - arlosi:sparse-warn-space, r=weihanglo
Fix typo in sparse-registry warning message Fixes #11752 Message now shows as: ``` warning: flag `-Z sparse-registry` has been stabilized in the 1.68 release, and is no longer necessary This flag currently still sets the default protocol to `sparse` when accessing crates.io. However, this will be removed in the future. The stable equivalent is to set the config value `registries.crates-io.protocol = 'sparse'` or environment variable `CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse` ```
2 parents b6c7fbe + 648a8a2 commit 1c3f7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ const STABILISED_MULTITARGET: &str = "Multiple `--target` options are now always
793793
const STABILIZED_TERMINAL_WIDTH: &str =
794794
"The -Zterminal-width option is now always enabled for terminal output.";
795795

796-
const STABILISED_SPARSE_REGISTRY: &str = "This flag currently still sets the default protocol\
796+
const STABILISED_SPARSE_REGISTRY: &str = "This flag currently still sets the default protocol \
797797
to `sparse` when accessing crates.io. However, this will be removed in the future. \n\
798798
The stable equivalent is to set the config value `registries.crates-io.protocol = 'sparse'`\n\
799799
or environment variable `CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse`";

0 commit comments

Comments
 (0)