src/pkg/fmt/print.go | 3 --- diff --git a/src/pkg/fmt/print.go b/src/pkg/fmt/print.go index d17bdb1d18c164908f27650dc311621267172c0d..ee821fb785ca5be2d7a4faf7e9351a8e12c8273c 100644 --- a/src/pkg/fmt/print.go +++ b/src/pkg/fmt/print.go @@ -149,7 +149,6 @@ return n, errno } // 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 @@ } // 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 @@ } // 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)