From 746da00ef695873b322823ae9ff7a1a3151578ae Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Sat, 6 Jul 2024 14:46:30 -0400 Subject: [PATCH] crl: avoid markdown footnotes Nightly rustdoc flags these as non-standard markdown, and they don't render as nicely as just using a link. --- rcgen/src/crl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcgen/src/crl.rs b/rcgen/src/crl.rs index 8250b88a..19ff6bf0 100644 --- a/rcgen/src/crl.rs +++ b/rcgen/src/crl.rs @@ -142,9 +142,9 @@ fn write_distribution_point_name_uris<'a>( } /// Identifies the reason a certificate was revoked. -/// See RFC 5280 §5.3.1[^1] +/// See [RFC 5280 §5.3.1][1] /// -/// [^1] +/// [1]: #[derive(Debug, Clone, Copy, Eq, PartialEq)] #[allow(missing_docs)] // Not much to add above the code name. pub enum RevocationReason {