Skip to content

Commit

Permalink
add missing links to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lainio committed Mar 17, 2024
1 parent c086eb1 commit 56741bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion err2.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func Handle(err *error, a ...any) {
//
// You can have unlimited amount of error handlers. They are called if error
// happens and they are called in the same order as they are given or until one
// of them resets the error like Reset in the next sample:
// of them resets the error like [Reset] in the next sample:
//
// defer err2.Catch(err2.Noop, err2.Reset, err2.Log) // err2.Log not called!
//
Expand Down
4 changes: 2 additions & 2 deletions formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func SetFormatter(f formatter.Interface) {
fmtstore.SetFormatter(f)
}

// Returns the current formatter. See more information from SetFormatter and
// formatter package.
// Returns the current formatter. See more information from [SetFormatter] and
// [formatter] package.
func Formatter() formatter.Interface {
return fmtstore.Formatter()
}

0 comments on commit 56741bc

Please sign in to comment.