]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: fix minor typo
authorRoger Peppe <rogpeppe@gmail.com>
Thu, 10 Feb 2011 19:01:05 +0000 (11:01 -0800)
committerRob Pike <r@golang.org>
Thu, 10 Feb 2011 19:01:05 +0000 (11:01 -0800)
R=r, r2
CC=golang-dev
https://golang.org/cl/4187041

src/pkg/fmt/scan.go

index ec80ec2859b885dafc71a73d0bdc52432f2ffdbe..53d88d574d7662e3b581ac76cc5fdd18d236fc25 100644 (file)
@@ -30,7 +30,7 @@ type runeUnreader interface {
 type ScanState interface {
        // GetRune reads the next rune (Unicode code point) from the input.
        GetRune() (rune int, err os.Error)
-       // UngetRune causes the next call to GetRune to return the rune.
+       // UngetRune causes the next call to GetRune to return the same rune.
        UngetRune()
        // Width returns the value of the width option and whether it has been set.
        // The unit is Unicode code points.