known_hosts: Switch the documentation to stable.

When making the stable release, the nightly docs won't be updated, yet.
This makes sure that the link will work for the stable release.
This commit is contained in:
Eric Huss 2023-01-05 07:43:28 -08:00 committed by Pietro Albini
parent 200cc11b5e
commit ad779e08be
No known key found for this signature in database
GPG Key ID: CD76B35F7734769E
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ pub fn certificate_check(
The {key_type_short_name} key fingerprint is: SHA256:{remote_fingerprint}\n\
This fingerprint should be validated with the server administrator that it is correct.\n\
{other_hosts_message}\n\
See https://doc.rust-lang.org/nightly/cargo/appendix/git-authentication.html#ssh-known-hosts \
See https://doc.rust-lang.org/stable/cargo/appendix/git-authentication.html#ssh-known-hosts \
for more information.\n\
")
}
@ -216,7 +216,7 @@ pub fn certificate_check(
\n\
{hostname} {key_type_name} {remote_host_key}\n\
\n\
See https://doc.rust-lang.org/nightly/cargo/appendix/git-authentication.html#ssh-known-hosts \
See https://doc.rust-lang.org/stable/cargo/appendix/git-authentication.html#ssh-known-hosts \
for more information.\n\
")
}