diff options
author | Rob Pike <r@golang.org> | 2010-09-04 22:29:10 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-09-04 22:29:10 +1000 |
commit | 6405ab0fae63b9b5e051c8d19ba2ee3666cb327e (patch) | |
tree | 359afb88ae020af5328793f8ac48416242fe06c2 | |
parent | e430ee6cbacc9574cab5a507013fe3ea11783cba (diff) | |
download | go-6405ab0fae63b9b5e051c8d19ba2ee3666cb327e.tar.gz go-6405ab0fae63b9b5e051c8d19ba2ee3666cb327e.zip |
fmt: delete erroneous sentence about return value for Sprint*.
R=rsc
CC=golang-dev
https://golang.org/cl/2160041
-rw-r--r-- | src/pkg/fmt/print.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pkg/fmt/print.go b/src/pkg/fmt/print.go index d17bdb1d18..ee821fb785 100644 --- a/src/pkg/fmt/print.go +++ b/src/pkg/fmt/print.go @@ -149,7 +149,6 @@ func Printf(format string, a ...interface{}) (n int, errno os.Error) { } // Sprintf formats according to a format specifier and returns the resulting string. -// It returns the number of bytes written. func Sprintf(format string, a ...interface{}) string { p := newPrinter() p.doPrintf(format, a) @@ -181,7 +180,6 @@ func Print(a ...interface{}) (n int, errno os.Error) { // Sprint formats using the default formats for its operands and returns the resulting string. // Spaces are added between operands when neither is a string. -// It returns the number of bytes written. func Sprint(a ...interface{}) string { p := newPrinter() p.doPrint(a, false, false) @@ -215,7 +213,6 @@ func Println(a ...interface{}) (n int, errno os.Error) { // Sprintln formats using the default formats for its operands and returns the resulting string. // Spaces are always added between operands and a newline is appended. -// It returns the number of bytes written. func Sprintln(a ...interface{}) string { p := newPrinter() p.doPrint(a, true, true) |