aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Peppe <rogpeppe@gmail.com>2011-02-10 11:01:05 -0800
committerRob Pike <r@golang.org>2011-02-10 11:01:05 -0800
commitb935728a17da9fc2451ae6296d8e1ac8e592f76f (patch)
tree653b28838edf5e53c5f2a78f0b95d1eca4d57b5d
parent047cf3161e2c1801fd1ba7a67f3125d8136d7956 (diff)
downloadgo-b935728a17da9fc2451ae6296d8e1ac8e592f76f.tar.gz
go-b935728a17da9fc2451ae6296d8e1ac8e592f76f.zip
fmt: fix minor typo
R=r, r2 CC=golang-dev https://golang.org/cl/4187041
-rw-r--r--src/pkg/fmt/scan.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/fmt/scan.go b/src/pkg/fmt/scan.go
index ec80ec2859..53d88d574d 100644
--- a/src/pkg/fmt/scan.go
+++ b/src/pkg/fmt/scan.go
@@ -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.