From 2c9da72fa5f1276dd941f6c3e37580dfbc69d85d Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Tue, 7 Jun 2016 17:26:48 +1000 Subject: [PATCH] fix typos --- README.md | 2 +- stack.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 631f2cc..236960d 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ See [the documentation for `Frame.Format`](https://godoc.org/github.com/pkg/erro ## Retrieving the cause of an error -Using `errors.Wrap` constructs a stack of errors, adding context to the preceding error. Depending on the nature of the error it may be necessary to recurse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface can be inspected by `errors.Cause`. +Using `errors.Wrap` constructs a stack of errors, adding context to the preceding error. Depending on the nature of the error it may be necessary to reverse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface can be inspected by `errors.Cause`. ```go type causer interface { Cause() error diff --git a/stack.go b/stack.go index fd54243..c6f46b9 100644 --- a/stack.go +++ b/stack.go @@ -8,7 +8,7 @@ import ( "strings" ) -// Frame repesents an activation record. +// Frame represents an activation record. type Frame uintptr // pc returns the program counter for this frame;