From dcbb4744e666a2bafc87b1ceee40a32fb16d40db Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 22 Jan 2024 02:44:10 +0000 Subject: [PATCH] der: improve `TeletexStringRef` docs (#1329) Adds a citation for the quote from the ASN.1 mailing list --- der/src/asn1/teletex_string.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/der/src/asn1/teletex_string.rs b/der/src/asn1/teletex_string.rs index 00ef9ec0b..7c6ea621d 100644 --- a/der/src/asn1/teletex_string.rs +++ b/der/src/asn1/teletex_string.rs @@ -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/asn1@asn1.org/msg00460.html #[derive(Copy, Clone, Eq, PartialEq, PartialOrd, Ord)] pub struct TeletexStringRef<'a> { /// Inner value