소스 검색

fix typos

Dave Cheney 9 년 전
부모
커밋
2c9da72fa5
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      README.md
  2. 1 1
      stack.go

+ 1 - 1
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

+ 1 - 1
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;