Explorar o código

Fix typo in comment (#46)

Matt Singletary %!s(int64=9) %!d(string=hai) anos
pai
achega
89edb63f9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]
 }