Skip to content

Commit 6c4f6a9

Browse files
authored
net/mail: remove the commented out code
1 parent 69f6a7c commit 6c4f6a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/net/mail/message.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,7 @@ func (p *addrParser) consumeAddrSpec() (spec string, err error) {
549549

550550
// domain = dot-atom / domain-literal
551551
var domain string
552-
// domain part does not allow whitespace characters, so skipSpace cannot be called here
553-
// p.skipSpace()
552+
554553
if p.empty() {
555554
return "", errors.New("mail: no domain in addr-spec")
556555
}

0 commit comments

Comments
 (0)