summaryrefslogtreecommitdiff
path: root/spew/doc.go
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-01-13 00:17:58 -0600
committerDave Collins <[email protected]>2013-01-13 00:17:58 -0600
commit638b62b9f5f2cc0f2f601fb5b957715056c5e335 (patch)
tree94a9a15e7a96e93909bcb720819b4eb82414e3f6 /spew/doc.go
parente892c84d386b41f1a63a4ec7b4b35bc69b093ac4 (diff)
Fix a few comment typos and improve consistency.
Diffstat (limited to 'spew/doc.go')
-rw-r--r--spew/doc.go6
1 files changed, 3 insertions, 3 deletions
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.