Skip to content

Commit 7c515a0

Browse files
committed
Update login paragraph in crates-io docs.
1 parent 30cc378 commit 7c515a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/crates-io.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ $ cargo login abcdefghijklmnopqrstuvwxyz012345
2121
```
2222

2323
This command will inform Cargo of your API token and store it locally in your
24-
`~/.cargo/config`. Note that this token is a **secret** and should not be shared
24+
`~/.cargo/credentials` (previously it was `~/.cargo/config`).
25+
Note that this token is a **secret** and should not be shared
2526
with anyone else. If it leaks for any reason, you should regenerate it
2627
immediately.
2728

0 commit comments

Comments
 (0)