From 67864e4842a0b69bf565e3e6f0a06bd20e6ac2c9 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Wed, 28 Aug 2024 14:48:58 +0400 Subject: [PATCH] fix(docs): meant to be in a separate paragraph, not list item --- src/certs/file_sscv.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/certs/file_sscv.rs b/src/certs/file_sscv.rs index 31944e9..fb96ace 100644 --- a/src/certs/file_sscv.rs +++ b/src/certs/file_sscv.rs @@ -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(