From d0004bba70d1c30d4f7c174a6967a8f1359c0026 Mon Sep 17 00:00:00 2001 From: some Date: Thu, 10 Oct 2024 15:39:39 -0400 Subject: [PATCH] Remove unnecessary receiver variable --- default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.go b/default.go index 8228423..8c79fa8 100644 --- a/default.go +++ b/default.go @@ -59,7 +59,7 @@ type DefaultErrorHandler struct { DefaultError } -func (eh *DefaultErrorHandler) Error(e Error) Error { +func (*DefaultErrorHandler) Error(e Error) Error { return &DefaultErrorHandler{DefaultError: e.(DefaultError)} }