From aeaa0d1eca1df9ed62ea22d4bc4de59aad068351 Mon Sep 17 00:00:00 2001 From: David Fifield Date: Sat, 27 Nov 2021 06:05:42 -0700 Subject: [PATCH] Small comment fixes. --- dns/dns.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/dns.go b/dns/dns.go index 7b7458a..4738a03 100644 --- a/dns/dns.go +++ b/dns/dns.go @@ -68,7 +68,7 @@ const ( type Name [][]byte // NewName returns a Name from a slice of labels, after checking the labels for -// validity. Do not include a zero-length label at the end of the slice. +// validity. Does not include a zero-length label at the end of the slice. func NewName(labels [][]byte) (Name, error) { name := Name(labels) // https://tools.ietf.org/html/rfc1035#section-2.3.4 @@ -176,7 +176,7 @@ func (msg *Message) Rcode() uint16 { return msg.Flags & 0x000f } -// Question represents the question section of a message. +// Question represents an entry in the question section of a message. // // https://tools.ietf.org/html/rfc1035#section-4.1.2 type Question struct { -- 2.11.4.GIT