From 638b62b9f5f2cc0f2f601fb5b957715056c5e335 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sun, 13 Jan 2013 00:17:58 -0600 Subject: Fix a few comment typos and improve consistency. --- spew/doc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spew/doc.go') diff --git a/spew/doc.go b/spew/doc.go index 94db62d..3465b22 100644 --- a/spew/doc.go +++ b/spew/doc.go @@ -23,9 +23,9 @@ printing facilities for Go data types are as follows: * Pointers are dereferenced and followed * Circular data structures are detected and handled properly - * Custom error/Stringer interfaces are optionally invoked, including + * Custom Stringer/error interfaces are optionally invoked, including on unexported types - * Custom types which only implement the error/Stringer interfaces via + * Custom types which only implement the Stringer/error interfaces via a pointer receiver are optionally invoked when passing non-pointer variables @@ -149,7 +149,7 @@ here. Errors -Since it is possible for custom error/Stringer interfaces to panic, spew +Since it is possible for custom Stringer/error interfaces to panic, spew detects them and handles them internally by printing the panic information inline with the output. Since spew is intended to provide deep pretty printing capabilities on structures, it intentionally does not return any errors. -- cgit v1.2.3