1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:54:45 -07:00

net/textproto: replace '3-digit' with 'three-digit'

A matter on form in documentation.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13087043
This commit is contained in:
Emil Hessman 2013-08-18 08:10:00 +10:00 committed by Rob Pike
parent ca01ab39ef
commit 20eb4cba37

View 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).