You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http://play.golang.org/p/Qmvs0J1cpM
package main
import "fmt"
func main() {
fmt.Printf("%x\n", "hello")
fmt.Printf("%#x\n", "hello")
}
prints
68656c6c6f
0x680x650x6c0x6c0x6f
It should probably print
68656c6c6f
0x68656c6c6f
Too late for 1.3; something to think about for 1.4.
The text was updated successfully, but these errors were encountered:
Printf("%x", "abc") was "0x610x620x63"; is now "0x616263", which
is surely better.
Printf("% #x", "abc") is still "0x61 0x62 0x63".
Fixesgolang#8080.
LGTM=bradfitz, gri
R=golang-codereviews, bradfitz, gri
CC=golang-codereviews
https://golang.org/cl/106990043
The text was updated successfully, but these errors were encountered: