From 1bd987e08d13c95e69d1a3e30ac0384b3fcb242a Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 22 Jan 2023 08:48:36 -0800 Subject: [PATCH] Fix intra-doc link for CertificateCheckStatus CertificateCheck is private, so use the proper link. --- src/remote_callbacks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote_callbacks.rs b/src/remote_callbacks.rs index fe1802273b..c3a8bfdc5a 100644 --- a/src/remote_callbacks.rs +++ b/src/remote_callbacks.rs @@ -54,7 +54,7 @@ pub type UpdateTips<'a> = dyn FnMut(&str, Oid, Oid) -> bool + 'a; pub type CertificateCheck<'a> = dyn FnMut(&Cert<'_>, &str) -> Result + 'a; -/// The return value for the [`CertificateCheck`] callback. +/// The return value for the [`RemoteCallbacks::certificate_check`] callback. pub enum CertificateCheckStatus { /// Indicates that the certificate should be accepted. CertificateOk,