diff options
Diffstat (limited to 'libgo/go/fmt')
-rw-r--r-- | libgo/go/fmt/format.go | 2 | ||||
-rw-r--r-- | libgo/go/fmt/print.go | 2 | ||||
-rw-r--r-- | libgo/go/fmt/scan.go | 4 | ||||
-rw-r--r-- | libgo/go/fmt/scan_test.go | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/libgo/go/fmt/format.go b/libgo/go/fmt/format.go index 80eb986..3957a5a 100644 --- a/libgo/go/fmt/format.go +++ b/libgo/go/fmt/format.go @@ -8,7 +8,7 @@ import ( "bytes" "strconv" "unicode" - "utf8" + "unicode/utf8" ) const ( diff --git a/libgo/go/fmt/print.go b/libgo/go/fmt/print.go index 1345644..bfa88d1 100644 --- a/libgo/go/fmt/print.go +++ b/libgo/go/fmt/print.go @@ -12,7 +12,7 @@ import ( "reflect" "sync" "unicode" - "utf8" + "unicode/utf8" ) // Some constants in the form of bytes, to avoid string overhead. diff --git a/libgo/go/fmt/scan.go b/libgo/go/fmt/scan.go index 54a9fe2..85571e8 100644 --- a/libgo/go/fmt/scan.go +++ b/libgo/go/fmt/scan.go @@ -14,7 +14,7 @@ import ( "strconv" "strings" "unicode" - "utf8" + "unicode/utf8" ) // runeUnreader is the interface to something that can unread runes. @@ -219,7 +219,7 @@ func (s *ss) getRune() (r rune) { return } -// mustReadRune turns os.EOF into a panic(io.ErrUnexpectedEOF). +// mustReadRune turns io.EOF into a panic(io.ErrUnexpectedEOF). // It is called in cases such as string scanning where an EOF is a // syntax error. func (s *ss) mustReadRune() (r rune) { diff --git a/libgo/go/fmt/scan_test.go b/libgo/go/fmt/scan_test.go index 7dd0015..d3c39be 100644 --- a/libgo/go/fmt/scan_test.go +++ b/libgo/go/fmt/scan_test.go @@ -15,7 +15,7 @@ import ( "regexp" "strings" "testing" - "utf8" + "unicode/utf8" ) type ScanTest struct { |