Skip to content

Commit 4100330

Browse files
committed
Auto merge of #6851 - danielcompton:patch-1, r=Eh2406
Clarify optional registry key behaviour Changing from "and" to "but" makes the sentence clearer to read. I think it gives the reader an appropriate caution, as you do lose features if you don't provide the `api` key.
2 parents 2510c0c + a5f7f46 commit 4100330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/registries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The keys are:
130130
may have the markers `{crate}` and `{version}` which are replaced with the
131131
name and version of the crate to download. If the markers are not present,
132132
then the value `/{crate}/{version}/download` is appended to the end.
133-
- `api`: This is the base URL for the web API. This key is optional, and if it
133+
- `api`: This is the base URL for the web API. This key is optional, but if it
134134
is not specified, commands such as [`cargo publish`] will not work. The web
135135
API is described below.
136136

0 commit comments

Comments
 (0)