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
07a497fe
Commit
07a497fe
authored
Jul 30, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a long-standing typo
R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=32540 CL=32545
parent
ff3a73b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
print.go
src/pkg/fmt/print.go
+2
-2
No files found.
src/pkg/fmt/print.go
View file @
07a497fe
...
...
@@ -64,7 +64,7 @@
fmt.Printf("%v\n", i);
will print 23.
If an operand implements interface Format, that interface
If an operand implements interface Format
ter
, that interface
can be used for fine control of formatting.
If an operand implements method String() string that method
...
...
@@ -96,7 +96,7 @@ type State interface {
Flag
(
int
)
bool
;
}
// Format is the interface implemented by objects with a custom formatter.
// Format
ter
is the interface implemented by objects with a custom formatter.
// The implementation of Format may call Sprintf or Fprintf(f) etc.
// to generate its output.
type
Formatter
interface
{
...
...
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