瀏覽代碼

correct misspell on spew/common.go#L183

Bill Q 8 年之前
父節點
當前提交
782f4967f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spew/common.go

+ 1 - 1
spew/common.go

@@ -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.