Skip to content

Commit

Permalink
known_hosts: Switch the documentation to stable.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ehuss authored and pietroalbini committed Jan 10, 2023
1 parent ee532ce commit 8ecd4f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo/sources/git/known_hosts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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\
")
}
Expand Down Expand Up @@ -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\
")
}
Expand Down

0 comments on commit 8ecd4f2

Please sign in to comment.