Browse Source

Fix a couple of comment typos.

Dave Collins 13 năm trước cách đây
mục cha
commit
04998fcda3
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
 
 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
 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).
 
 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.
 */
 func NewFormatter(v interface{}) (f fmt.Formatter) {