From: Rob Pike Date: Wed, 1 Sep 2010 12:59:20 +0000 (+1000) Subject: fmt: fix typo in package comment. X-Git-Tag: weekly.2010-09-06~32 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=49b19e1b399b693d4dd4b599b0320fd34c745c35;p=gostls13.git fmt: fix typo in package comment. No semantic change. R=rsc CC=golang-dev https://golang.org/cl/2121041 --- 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