Skip to content

Commit 56741bc

Browse files
committed
add missing links to docs
1 parent c086eb1 commit 56741bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

err2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func Handle(err *error, a ...any) {
157157
//
158158
// You can have unlimited amount of error handlers. They are called if error
159159
// happens and they are called in the same order as they are given or until one
160-
// of them resets the error like Reset in the next sample:
160+
// of them resets the error like [Reset] in the next sample:
161161
//
162162
// defer err2.Catch(err2.Noop, err2.Reset, err2.Log) // err2.Log not called!
163163
//

formatter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ func SetFormatter(f formatter.Interface) {
2424
fmtstore.SetFormatter(f)
2525
}
2626

27-
// Returns the current formatter. See more information from SetFormatter and
28-
// formatter package.
27+
// Returns the current formatter. See more information from [SetFormatter] and
28+
// [formatter] package.
2929
func Formatter() formatter.Interface {
3030
return fmtstore.Formatter()
3131
}

0 commit comments

Comments
 (0)