diff options
author | Rob Pike <r@golang.org> | 2010-09-01 22:59:20 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-09-01 22:59:20 +1000 |
commit | 49b19e1b399b693d4dd4b599b0320fd34c745c35 (patch) | |
tree | 354ac46d7df189517299dd50b8ff6380ec50ce86 | |
parent | 825e0deecef6e797d59c824a5a974e0175b56fe5 (diff) | |
download | go-49b19e1b399b693d4dd4b599b0320fd34c745c35.tar.gz go-49b19e1b399b693d4dd4b599b0320fd34c745c35.zip |
fmt: fix typo in package comment.
No semantic change.
R=rsc
CC=golang-dev
https://golang.org/cl/2121041
-rw-r--r-- | src/pkg/fmt/doc.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pkg/fmt/doc.go b/src/pkg/fmt/doc.go index 1e890e7c1f..101e242c39 100644 --- a/src/pkg/fmt/doc.go +++ b/src/pkg/fmt/doc.go @@ -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 @@ -128,5 +128,10 @@ 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 |