Small comment fixes.

This commit is contained in:
David Fifield
2021-11-27 06:05:42 -07:00
parent 34df3508cd
commit aeaa0d1eca
+2 -2
View File
@@ -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 {