Skip to content

Commit 4efaa4e

Browse files
committed
Use crates-io instead of crates.io as registry name
1 parent 7720662 commit 4efaa4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/source/source_id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl SourceId {
234234

235235
pub fn display_registry_name(self) -> String {
236236
if self.is_default_registry() {
237-
CRATES_IO_DOMAIN.to_string()
237+
CRATES_IO_REGISTRY.to_string()
238238
} else if let Some(name) = &self.inner.name {
239239
name.clone()
240240
} else if self.precise().is_some() {

0 commit comments

Comments
 (0)