mirror of
https://github.com/golang/go
synced 2024-11-12 03:40:21 -07:00
fmt: remove an obsolete reference to os.ErrorString in a comment
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5229057
This commit is contained in:
parent
707e5acd71
commit
aa2f439c6a
@ -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...))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user