fix(docs): meant to be in a separate paragraph, not list item

This commit is contained in:
DarkCat09 2024-08-28 14:48:58 +04:00
parent 686c894296
commit 67864e4842
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82

View file

@ -125,6 +125,7 @@ impl KnownHostsFile {
/// Write a new trusted cert's fingerprint to the known_hosts file.
/// - `fp` is a TLS cert hash in base64 (see [`CertFingerprint::base64`]),
/// - `fptype` is a name of hashing algorithm (see [`CertFingerprint::fingerprint_type_str`]).
///
/// The certificate will not be trusted in the current session unless you call `add_cert_to_hashmap`,
/// so use this function only if you need modularity, otherwise just use `add_trusted_cert`.
pub async fn add_cert_to_file(