Skip to content

Commit

Permalink
der: improve TeletexStringRef docs (#1329)
Browse files Browse the repository at this point in the history
Adds a citation for the quote from the ASN.1 mailing list
  • Loading branch information
tarcieri authored Jan 22, 2024
1 parent 5c1bbfe commit dcbb474
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions der/src/asn1/teletex_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ macro_rules! impl_teletex_string {
///
/// # Supported characters
///
/// The standard defines a complex character set allowed in this type. However, quoting the ASN.1
/// mailing list, "a sizable volume of software in the world treats TeletexString (T61String) as a
/// simple 8-bit string with mostly Windows Latin 1 (superset of iso-8859-1) encoding".
/// The standard defines a complex character set allowed in this type. However,
/// [quoting the ASN.1 mailing list]:
///
/// > "a sizable volume of software in the world treats TeletexString (T61String) as
/// > a simple 8-bit string with mostly Windows Latin 1 (superset of iso-8859-1) encoding".
///
/// [quoting the ASN.1 mailing list]: https://www.mail-archive.com/[email protected]/msg00460.html
#[derive(Copy, Clone, Eq, PartialEq, PartialOrd, Ord)]
pub struct TeletexStringRef<'a> {
/// Inner value
Expand Down

0 comments on commit dcbb474

Please sign in to comment.