]> Cypherpunks repositories - gostls13.git/commitdiff
net/textproto: replace '3-digit' with 'three-digit'
authorEmil Hessman <c.emil.hessman@gmail.com>
Sat, 17 Aug 2013 22:10:00 +0000 (08:10 +1000)
committerRob Pike <r@golang.org>
Sat, 17 Aug 2013 22:10:00 +0000 (08:10 +1000)
A matter on form in documentation.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13087043

src/pkg/net/textproto/reader.go

index 8eda4dffdd011da740d806e649260aab2d38338b..56ece5b087c66a5befeda58cc7bb4130d711f486 100644 (file)
@@ -203,7 +203,7 @@ func parseCodeLine(line string, expectCode int) (code int, continued bool, messa
 
 // ReadCodeLine reads a response code line of the form
 //     code message
-// where code is a 3-digit status code and the message
+// where code is a three-digit status code and the message
 // extends to the rest of the line.  An example of such a line is:
 //     220 plan9.bell-labs.com ESMTP
 //
@@ -231,7 +231,7 @@ func (r *Reader) ReadCodeLine(expectCode int) (code int, message string, err err
 //     ...
 //     code message line n
 //
-// where code is a 3-digit status code. The first line starts with the
+// where code is a three-digit status code. The first line starts with the
 // code and a hyphen. The response is terminated by a line that starts
 // with the same code followed by a space. Each line in message is
 // separated by a newline (\n).