Clean up documentation TODO
authorMatt Corallo <git@bluematt.me>
Tue, 6 Feb 2024 04:20:54 +0000 (04:20 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Feb 2024 04:20:54 +0000 (04:20 +0000)
src/rr.rs

index 145f0b43fa723f32a769817d01d3595968d841cd..002ea7e7a60b0317f5ebb84ca3c590ad5a161804 100644 (file)
--- a/src/rr.rs
+++ b/src/rr.rs
@@ -364,7 +364,9 @@ pub struct RRSig {
        /// This must match the [`DnsKey::alg`] field in the [`DnsKey`] being used to sign.
        pub alg: u8,
        /// The number of labels in the name of the records that this signature is signing.
-       // TODO: Describe this better in terms of wildcards
+       ///
+       /// If this is less than the number of labels in [`Self::name`], this signature is covering a
+       /// wildcard entry.
        pub labels: u8,
        /// The TTL of the records which this [`RRSig`] is signing.
        pub orig_ttl: u32,