dnsforward: fix doc

This commit is contained in:
Eugene Burkov 2024-03-13 19:35:20 +03:00
parent c6cce9644e
commit c6162a211b
1 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ type LocalResolversError struct {
// type check
var _ error = (*LocalResolversError)(nil)
// Error implements the error interface for *localResolversError.
// Error implements the error interface for *LocalResolversError.
func (err *LocalResolversError) Error() (s string) {
return fmt.Sprintf("creating local resolvers: %s", err.Err)
}
@ -536,7 +536,7 @@ func (err *LocalResolversError) Error() (s string) {
// type check
var _ errors.Wrapper = (*LocalResolversError)(nil)
// Unwrap implements the [errors.Wrapper] interface for *localResolversError.
// Unwrap implements the [errors.Wrapper] interface for *LocalResolversError.
func (err *LocalResolversError) Unwrap() error {
return err.Err
}