mirror of
https://github.com/golang/go
synced 2024-11-02 08:01:26 +00:00
fmt: fix typo in package comment.
No semantic change. R=rsc CC=golang-dev https://golang.org/cl/2121041
This commit is contained in:
parent
825e0deece
commit
49b19e1b39
1 changed files with 6 additions and 1 deletions
|
@ -75,7 +75,7 @@
|
||||||
can be used for fine control of formatting.
|
can be used for fine control of formatting.
|
||||||
|
|
||||||
If an operand implements method String() string that method
|
If an operand implements method String() string that method
|
||||||
will be used to conver the object to a string, which will then
|
will be used to convert the object to a string, which will then
|
||||||
be formatted as required by the verb (if any). To avoid
|
be formatted as required by the verb (if any). To avoid
|
||||||
recursion in cases such as
|
recursion in cases such as
|
||||||
type X int
|
type X int
|
||||||
|
@ -128,5 +128,10 @@
|
||||||
|
|
||||||
All arguments to be scanned must be either pointers to basic
|
All arguments to be scanned must be either pointers to basic
|
||||||
types or implementations of the Scanner interface.
|
types or implementations of the Scanner interface.
|
||||||
|
|
||||||
|
Note: Fscan etc. can read one character past the input
|
||||||
|
they return, which means that a loop calling a scan routine
|
||||||
|
may skip some of the input. This is usually a problem only
|
||||||
|
when there is no space between input values.
|
||||||
*/
|
*/
|
||||||
package fmt
|
package fmt
|
||||||
|
|
Loading…
Reference in a new issue