Kaynağa Gözat

Fix a couple of comment typos.

Dave Collins 13 yıl önce
ebeveyn
işleme
04998fcda3
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      spew/doc.go
  2. 1 1
      spew/format.go

+ 1 - 1
spew/doc.go

@@ -105,7 +105,7 @@ shown here.
 Custom Formatter
 Custom Formatter
 
 
 Spew provides a custom formatter the implements the fmt.Formatter interface
 Spew provides a custom formatter the implements the fmt.Formatter interface
-so that integrates cleanly with standard fmt package printing functions. The
+so that it integrates cleanly with standard fmt package printing functions. The
 formatter is useful for inline printing of smaller data types similar to the
 formatter is useful for inline printing of smaller data types similar to the
 standard %v format specifier.
 standard %v format specifier.
 
 

+ 1 - 1
spew/format.go

@@ -328,7 +328,7 @@ precision arguments (however they will still work on the format specifiers not
 handled by the custom formatter).
 handled by the custom formatter).
 
 
 Typically this function shouldn't be called directly.  It is much easier to make
 Typically this function shouldn't be called directly.  It is much easier to make
-use of the custom formatter is to call one of the convenience functions such as
+use of the custom formatter by calling one of the convenience functions such as
 Printf, Println, or Printf.
 Printf, Println, or Printf.
 */
 */
 func NewFormatter(v interface{}) (f fmt.Formatter) {
 func NewFormatter(v interface{}) (f fmt.Formatter) {