Skip to content

Commit 288856b

Browse files
Eh2406arlosi
andcommitted
HTTP-based -> sparse
Co-authored-by: Arlo Siemsen <[email protected]>
1 parent a9faf49 commit 288856b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/sources/registry/http_remote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl<'cfg> HttpRegistry<'cfg> {
132132
name: &str,
133133
) -> CargoResult<HttpRegistry<'cfg>> {
134134
if !config.cli_unstable().sparse_registry {
135-
anyhow::bail!("usage of HTTP-based registries requires `-Z sparse-registry`");
135+
anyhow::bail!("usage of sparse registries requires `-Z sparse-registry`");
136136
}
137137
let url = source_id.url().as_str();
138138
// Ensure the url ends with a slash so we can concatenate paths.

tests/testsuite/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,7 @@ fn http_requires_z_flag() {
26432643

26442644
p.cargo("build")
26452645
.with_status(101)
2646-
.with_stderr_contains(" usage of HTTP-based registries requires `-Z sparse-registry`")
2646+
.with_stderr_contains(" usage of sparse registries requires `-Z sparse-registry`")
26472647
.run();
26482648
}
26492649

0 commit comments

Comments
 (0)