Skip to content

Commit 08a533d

Browse files
committed
Note that with out comma
1 parent 9b5e417 commit 08a533d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ practice still print their stack trace. The panic tracer's default values is
8282
err2.SetPanicTracer(os.Stderr) // panic stack tracer's default is stderr
8383
err2.SetErrorTracer(nil) // error stack tracer's default is nil
8484
85-
Note, that both panic and error traces are optimized by err2 package. That means
85+
Note that both panic and error traces are optimized by err2 package. That means
8686
that the head of the stack trace isn't the panic function, but an actual line
8787
that caused it. It works for all three categories:
8888
- normal error values
@@ -112,7 +112,7 @@ And the following flags are supported (="default-value"):
112112
-err2-trace="nil"
113113
A name of the stream currently supported stderr, stdout or nil
114114
115-
Note, that you have called [SetErrorTracer] and others, before you call
115+
Note that you have called [SetErrorTracer] and others, before you call
116116
[flag.Parse]. This allows you set the defaults according your app's need and allow
117117
end-user change them during the runtime.
118118

handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func Reset(error) error { return nil }
6060
// fmt.Println("ERROR:", err)
6161
// }))
6262
//
63-
// Note, that since Err helper we have other helpers like [Stdout] that allows
63+
// Note that since Err helper we have other helpers like [Stdout] that allows
6464
// previous block be written as simple as:
6565
//
6666
// defer err2.Catch(err2.Stdout)

0 commit comments

Comments
 (0)