fix(docs): meant to be in a separate paragraph, not list item
This commit is contained in:
parent
686c894296
commit
67864e4842
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue