diff --git a/src/doc/crates-io.md b/src/doc/crates-io.md index 8e9a5269b95..ba4d2b7dab0 100644 --- a/src/doc/crates-io.md +++ b/src/doc/crates-io.md @@ -21,7 +21,8 @@ $ cargo login abcdefghijklmnopqrstuvwxyz012345 ``` This command will inform Cargo of your API token and store it locally in your -`~/.cargo/config`. Note that this token is a **secret** and should not be shared +`~/.cargo/credentials` (previously it was `~/.cargo/config`). +Note that this token is a **secret** and should not be shared with anyone else. If it leaks for any reason, you should regenerate it immediately.