Commit aa2f439c authored by Rob Pike's avatar Rob Pike

fmt: remove an obsolete reference to os.ErrorString in a comment

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5229057
parent 707e5acd
......@@ -190,7 +190,7 @@ func Sprintf(format string, a ...interface{}) string {
}
// Errorf formats according to a format specifier and returns the string
// converted to an os.ErrorString, which satisfies the os.Error interface.
// as a value that satisfies os.Error.
func Errorf(format string, a ...interface{}) os.Error {
return os.NewError(Sprintf(format, a...))
}
......
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