Update common.go

This commit is contained in:
wangkechun 2017-03-01 18:55:06 +08:00 committed by GitHub
parent 346938d642
commit 27f718b790
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ func printComplex(w io.Writer, c complex128, floatPrecision int) {
w.Write(closeParenBytes)
}
// printHexPtr outputs a uintptr formatted as hexidecimal with a leading '0x'
// printHexPtr outputs a uintptr formatted as hexadecimal with a leading '0x'
// prefix to Writer w.
func printHexPtr(w io.Writer, p uintptr) {
// Null pointer.