Commit 20eb4cba authored by Emil Hessman's avatar Emil Hessman Committed by Rob Pike

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
parent ca01ab39
...@@ -203,7 +203,7 @@ func parseCodeLine(line string, expectCode int) (code int, continued bool, messa ...@@ -203,7 +203,7 @@ func parseCodeLine(line string, expectCode int) (code int, continued bool, messa
// ReadCodeLine reads a response code line of the form // ReadCodeLine reads a response code line of the form
// code message // 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: // extends to the rest of the line. An example of such a line is:
// 220 plan9.bell-labs.com ESMTP // 220 plan9.bell-labs.com ESMTP
// //
...@@ -231,7 +231,7 @@ func (r *Reader) ReadCodeLine(expectCode int) (code int, message string, err err ...@@ -231,7 +231,7 @@ func (r *Reader) ReadCodeLine(expectCode int) (code int, message string, err err
// ... // ...
// code message line n // 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 // 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 // with the same code followed by a space. Each line in message is
// separated by a newline (\n). // separated by a newline (\n).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment