Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
6405ab0f
Commit
6405ab0f
authored
Sep 04, 2010
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt: delete erroneous sentence about return value for Sprint*.
R=rsc CC=golang-dev
https://golang.org/cl/2160041
parent
e430ee6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
print.go
src/pkg/fmt/print.go
+0
-3
No files found.
src/pkg/fmt/print.go
View file @
6405ab0f
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment