Skip to content

Commit d992ab4

Browse files
ehusspietroalbini
authored andcommitted
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.
1 parent 23c5471 commit d992ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/sources/git/known_hosts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub fn certificate_check(
158158
The {key_type_short_name} key fingerprint is: SHA256:{remote_fingerprint}\n\
159159
This fingerprint should be validated with the server administrator that it is correct.\n\
160160
{other_hosts_message}\n\
161-
See https://doc.rust-lang.org/nightly/cargo/appendix/git-authentication.html#ssh-known-hosts \
161+
See https://doc.rust-lang.org/stable/cargo/appendix/git-authentication.html#ssh-known-hosts \
162162
for more information.\n\
163163
")
164164
}
@@ -216,7 +216,7 @@ pub fn certificate_check(
216216
\n\
217217
{hostname} {key_type_name} {remote_host_key}\n\
218218
\n\
219-
See https://doc.rust-lang.org/nightly/cargo/appendix/git-authentication.html#ssh-known-hosts \
219+
See https://doc.rust-lang.org/stable/cargo/appendix/git-authentication.html#ssh-known-hosts \
220220
for more information.\n\
221221
")
222222
}

0 commit comments

Comments
 (0)