소스 검색

Fix typo in comment (#46)

Matt Singletary 9 년 전
부모
커밋
89edb63f9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      example_test.go

+ 1 - 1
example_test.go

@@ -81,7 +81,7 @@ func Example_stacktrace() {
 	}
 
 	st := err.Stacktrace()
-	fmt.Printf("%+v", st[0:2]) // top two framces
+	fmt.Printf("%+v", st[0:2]) // top two frames
 
 	// Output: [github.com/pkg/errors/example_test.go:33 github.com/pkg/errors/example_test.go:78]
 }