Skip to content

Commit

Permalink
crl: avoid markdown footnotes
Browse files Browse the repository at this point in the history
Nightly rustdoc flags these as non-standard markdown, and they don't
render as nicely as just using a link.
  • Loading branch information
cpu committed Jul 7, 2024
1 parent c551a02 commit 746da00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcgen/src/crl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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] <https://www.rfc-editor.org/rfc/rfc5280#section-5.3.1>
/// [1]: <https://www.rfc-editor.org/rfc/rfc5280#section-5.3.1>
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
#[allow(missing_docs)] // Not much to add above the code name.
pub enum RevocationReason {
Expand Down

0 comments on commit 746da00

Please sign in to comment.