]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: fix typo in package comment.
authorRob Pike <r@golang.org>
Wed, 1 Sep 2010 12:59:20 +0000 (22:59 +1000)
committerRob Pike <r@golang.org>
Wed, 1 Sep 2010 12:59:20 +0000 (22:59 +1000)
No semantic change.

R=rsc
CC=golang-dev
https://golang.org/cl/2121041

src/pkg/fmt/doc.go

index 1e890e7c1fa0e37d3b3b384fd88727eef05bc6f3..101e242c39864785eae0ef687a7bb07067b1c516 100644 (file)
@@ -75,7 +75,7 @@
        can be used for fine control of formatting.
 
        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
        recursion in cases such as
                type X int
 
        All arguments to be scanned must be either pointers to basic
        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