Some typos

This commit is contained in:
Miek Gieben 2011-12-16 19:42:23 +01:00
parent 97b6ca3e76
commit a72df87858
1 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@ const (
_EXPECT_RDATA // The first element of the rdata
)
// ParseError contains the parse error and the location in the io.Reader
// where the error occured.
type ParseError struct {
err string
lex lex
@ -70,7 +72,7 @@ type Token struct {
// NewRR parses the string s and returns the RR contained in there. If the string
// contains more than one RR, only the first is returned. If an error is detected
// that error error is returned.
// that error is returned.
// If the class is not specified, the IN class is assumed. If the TTL is not
// specified DefaultTtl is assumed.
func NewRR(s string) (RR, error) {