Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
bda36cf3
Commit
bda36cf3
authored
May 18, 2011
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt: fix minor documentation nits
R=r, rsc CC=golang-dev
https://golang.org/cl/4556041
parent
975ba88e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pkg/fmt/doc.go
src/pkg/fmt/doc.go
+1
-1
src/pkg/fmt/print.go
src/pkg/fmt/print.go
+1
-1
No files found.
src/pkg/fmt/doc.go
View file @
bda36cf3
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
%o base 8
%o base 8
%x base 16, with lower-case letters for a-f
%x base 16, with lower-case letters for a-f
%X base 16, with upper-case letters for A-F
%X base 16, with upper-case letters for A-F
%U Unicode format: U+1234; same as "U+%0
.
4X"
%U Unicode format: U+1234; same as "U+%04X"
Floating-point and complex constituents:
Floating-point and complex constituents:
%b decimalless scientific notation with exponent a power
%b decimalless scientific notation with exponent a power
of two, in the manner of strconv.Ftoa32, e.g. -123456p-78
of two, in the manner of strconv.Ftoa32, e.g. -123456p-78
...
...
src/pkg/fmt/print.go
View file @
bda36cf3
...
@@ -41,7 +41,7 @@ type State interface {
...
@@ -41,7 +41,7 @@ type State interface {
Precision
()
(
prec
int
,
ok
bool
)
Precision
()
(
prec
int
,
ok
bool
)
// Flag returns whether the flag c, a character, has been set.
// Flag returns whether the flag c, a character, has been set.
Flag
(
int
)
bool
Flag
(
c
int
)
bool
}
}
// Formatter is the interface implemented by values with a custom formatter.
// Formatter is the interface implemented by values with a custom formatter.
...
...
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