Fix a couple of comment typos.

This commit is contained in:
Dave Collins 2013-01-10 15:43:40 -06:00
parent f83c452899
commit 04998fcda3
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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) {